Dao design pattern, Dao design factory, Abstract dao design factory.

DAO Flow
This image represents flow and design of DAO design patter, DAO design factory and Abstract DAO design factory.

Leave a comment

Struts flow


Struts 1.3 Flow


   The user fills the fields of the form in a jsp page. The form have action name with default method ‘get’ , This form fields and the form properties  in framework should match each other. Once you completed filling the values in a jsp page and when you click the submit button, the values in a form are stored in a request body with variable names, the request name will be action name of the form. According to the servlet, the request comes to the web.xml file for routing the request. Struts maintain Front Control Design Pattern (FCD),  That means all request comes to the single servlet called ActionServlet given by struts framework. That will be the Controller of the MVC architecture. This class takes the request and Delegates it to RequestProcessor Struts provided class. The name itself indicates that this class will process the request. Here they usedAction Controller Design Pattern (AC).This class will process the request as mentioned in the strutsconfig.xml.  First it compares the path name of the action tag and request name. And it matches the name in action tag to the name in the beans. There it verifies the form name. Then the control goes to the Form which extends one Form provided by struts and it creates the object and initializes the request field values to the forms by getter & setter methods. Again the control returns to the strutsconfig.xml file to the same action tag it goes to the Action class which mentioned in actiontag .That Action class must extends one of the Action Class provided by Struts. In Action class having default execute method with four parameters and ActionForward return type. The four parameters areActionMapping, ActionForm, HttpServletRequest, HttpServletResponse . The Action Form object contains the Values of the fields .From here the business logic will be called and will get the result back with some information. Based on the condition we set the result to the ActionMapping and returning back withActionForward. Then the controls back to the strutsconfig.xml file where it matches the forward name and redirect to the particular jsp. And this jsp uses some tags provided by struts.
Struts 1.3 flow

Leave a comment

JAVA code name's and versions


 JAVA CODE NAMES AND It's VERSIONS

In this article, Just I share some interesting information about java code name's and It's Versions.

VERSION
CODE  NAME
RELEASE DATE
PACKAGES
CLASSES
JDK 1.1.4
Sparkler
Sept 12, 1997
12
503
JDK 1.1.5
Pumpkin
Dec 3, 1997
JDK 1.1.6
Abigail
April 24, 1998
JDK 1.1.7
Brutus
Sept 28, 1998
JDK 1.1.8
Chelsea
April 8, 1999
J2SE 1.2
Playground
Dec 4, 1998
59
1,520
J2SE 1.2.1
(none)
March 30, 1999
J2SE 1.2.2
Cricket
July 8, 1999
J2SE 1.3
Kestrel
May 8, 2000
76
1842
J2SE 1.3.1
Ladybird
May 17, 2001
J2SE 1.4.0
Merlin
Feb 13, 2002
135

2991

J2SE 1.4.1
Hopper
Sept 16, 2002
J2SE 1.4.2
Mantis
June 26, 2003
J2SE 5.0 (1.5.0)
Tiger
Sept 29, 2004

166
3562
Java SE 6
Mustang



Java SE 7
Dolphin



Leave a comment