View RSS Feed

Recent Blogs Posts

  1. Component Architecture and MVC

    by , 04-26-2012 at 08:46 PM
    MVCs common variation is used to present components by Swing where controller and view get combined to form an object known as delegate. Delegates present model and also translates the input of user into model, just like it is done by a controller. Communication that takes place b/w controller and view is found to be very complex. Two simplifies are combined, for the component design.

    For example, checkbox widget shall be considered. It consists of a state which could be true or ...
  2. JTable MVC

    by , 01-08-2012 at 01:34 PM
    Swing uses a modified version of Model View Controller design pattern. Model, view and controller layers are separated by MVC design pattern.

    Name:  62.JPG
Views: 1800
Size:  19.7 KB

    Swing MVC Architecture

    Component (JTable, JTree, and JList): These components coordinate.
    Model (TableModel): charged with storing the data.
    UIDelegate: It is responsible for getting the data from model and rendering it to screen.
    Tags: jtable, mvc Add / Edit Tags
    Architecture , JTable
  3. Explain MVC architecture relating to J2EE

    by , 01-01-2012 at 04:31 PM
    MVC or Model View Controller architecture divides display functionality and maintains data to reduce the degree of coupling between components.

    Name:  4.JPG
Views: 12923
Size:  60.5 KB

    J2EE MVC

    A model presents the state and core business logic. Data present in database is mapped by the model and holds the core business logic.

    A View renders models contents. Data is accessed by a view from the model and display logic is added for presentation of the ...

    Updated 01-15-2012 at 08:30 AM by J2EE

  4. Building your first Spring 3 MVC application using Eclipse

    by , 12-10-2011 at 07:51 AM
    Spring is one of the most popular application frameworks for Java development. The framework comes with various projects like Spring Core, Spring Data, Spring Web Services, Spring MVCEach project suits for a particular area, and for the area of web development, Spring MVC is very well-known.
    Spring MVC makes web development easier by separating the three components: Model, View, and Controller.

    • The model represents the principal data that is managed by the application.
    Tags: eclipse, mvc, spring 3 Add / Edit Tags
    MVC , Spring 3 , Eclipse
  5. Building your first Struts 2 application using Eclipse

    by , 12-09-2011 at 05:30 PM
    Struts is one of the most popular web framework for Java. It comes with 2 major branches, Struts 1 and Struts 2. Both implement MVC architecture but Struts 2 is much simpler, easier to build, deploy and maintain than Struts 1.
    This article will guide you through the steps to build a simple Struts 2 application using Eclipse IDE.

    Download Struts 2 and required libraries

    Download latest version of Struts 2 from Download a Release
    Select the full distribution, ...
    Eclipse , Struts
  6. The Observer Design Pattern

    by , 11-20-2011 at 07:00 PM (My Java Tips)
    The Observer design pattern is a Behavioral design pattern. It is used to observe the state of an object in the program. In Observer pattern object(s) are registered to observe an event that may be raised by the observed object. Simply put the Observer pattern allows one object called the observer to watch another object called the subject.

    The observer pattern can listen to an external event, for example a user action. The observer pattern is also used to create a loose coupling ...