Powered by Blogger.

AutomatedBallotVote Project on Java

>> Monday, November 16, 2009

Software Engineering Methodology:
Object Oriented Analysis and Design (OOAD Standards)


Software requirements:

          
           Operating System                 : Windows
           Technology                            : Java/J2EE (JDBC, Servlets, JSP)
           Web Technologies               : Html, JavaScript, CSS
           Web Server                            : Tomcat
           Database                                : Oracle
           Software’s                              : J2SDK1.5, Tomcat 5.5, Oracle 9i

Read more..

164 Java Interview Questions by Nageswara Rao

>> Friday, August 14, 2009

Dr.R.Nageswara Rao has given some of the Java interview questions in his Core Java Integrated Approach book. These are the questions frequently asked in Java interviews.Go throught these Questions this would be helpful to you..
164 Core Java Interview Questions by Nageswara Rao_JavabynataraJ
If you are already attended any interviews on java you might have faced most of the questions given below. Please leave a comment if you have any queries.

Read more..

4.6.Example on FormBean Class

>> Friday, July 3, 2009

package p1;
public class RegisterForm extends org.apache.struts.action.ActionForm
{
String uname,pwd; //FormBean properties
public void setUname(String un)
{
uname = un;
}
public string getName()
{
return uname;
}
public void setPwd(String pass)
{
pwd=pass;
}
public String getPwd()
{
return pwd;
}
}

Read more..

4.5.Struts configuration file

>> Sunday, June 21, 2009

The struts-config.xml  file is heart of the struts-application containing FormBean classes,Action classes configuration , the entries in this xml file will be read by framework software.
  • Reading entries of web.xml is the responsibility of under laying web server or application server, application servers are using sax api, sax parser to read and process web.xml file.
  • Struts framework software uses SAX parser, SAX api to read and process struts configuration file.
  • Any "filename.xml" can become struts configuration file but it must be specified as input value to ActionServlet by using its init parameter 'config'.

Read more..

4.4. Value Objects/Data transfer object class.

>> Wednesday, June 17, 2009

In order to send multiple values from one layer to another layer, it is recommended to combine multiple values into single object and send that object ot destination layer. It is not recommended to send multiple values between two layers foe multiple number of times. The class whose object combines multiple values into single object is called ValueObject class or DataTransferOject class.

  • The implementation of this design pattern reduces round trips between two layers and it also makes easy to receive values only for one time in the destination layer.
  • In struts application FormBean class acts as ValueObject class or DataTransgerObject class. Because multiple values given by form(data means form data) or stored into single object called FormBean class object and this FormBean class object is implicitly visible in the action class execute(). The business logic of execute() uses form data as input values by reading them form FormBean class object.
  • In struts applications Form data of the view layer is visible Action class of modellayer. In the form of FormBean class object.

Read more..

How ActionServlet acting as a FrontController.in Struts

>> Sunday, June 14, 2009

A special web resource of web application that traps request comming to other web application to execute common and global pre request processing logic by username and password is called "Front Controller".

Servlet acting as a Front-controller , then it is called Front-controller servlet. If JSP is acting as Front-controller then it is called Front-controller JSP.
Action Servlet acting as Front Controller_JavabynataraJ

Read more..

Related Posts Plugin for WordPress, Blogger...
© javabynataraj.blogspot.com from 2009 - 2022. All rights reserved.