i tried understanding that tutorial but its quite complex ....well my 
assignment is 

The application you are going to create is entering an employee into a database 
and getting a list of employees from database. The user will be required to 
enter an employee's name, age, and department Name and he/she can see a list of 
employees as a tabular format. 

1. GUI Part of Application: In this part of application use struts frameworks 
jsp/Servlet and JavaScript. 

It consists of three screens.
1.a) Screens for index Page.
1.b) Screen to create employee details.
1.c) Screen to display list of employees in tabular form.

 1.a) Screen for Index Page: In this screen, each option linked to 
corresponding action. i.e. Click Event of ?Add Employee? Option should display 
screen no (1.b) and click event of ?View Employee? Option should display screen 
No (1.c).
  
       J2EE Application
      
       1. Add Employee
       2.View Employee




1.b) screen to create Employee: On Click of ?Create ? Button, first validate 
the form entry with helps Struts framework and then saves this to database.


          Create Employee

Emp ID      : 

Emp Name :                                             
 
Emp Age    :                                               

Department :                                    
*
                Create          cancel

Note: * indicate select box and other are simple input boxes.

List of Departments should come from property File (say department.property)
Format of department.property File like 
        Dep_name00=HR;
        Dep_name01=Admin;
        Dep_name02=BOSS;
        Dep_name03=NMS;

                
1.c) Screen to View all Employee: screen to display all existing Employee in 
tabular form.


      Row No        Employee ID   Employee Name   Employee Age   Department
          1                             
          2                             
          3                             


2. Server Part of Application : In backend  there will be only one Table 
?Employee?

 Employee Table
Table Name: Employee
 Field Name:
Emp _id        number(10) 
Emp_Name   char(50)
Emp_age       integer(3)
Emp_Dept     char(20)


You need to use ServerSide component technology of j2ee like EJB which help to 
solves business problem. Tasks like submitting Employee data to database, 
getting employee information should achieve through EJB and JDBC API. 


J2EE Example Application Architecture



Web Client

I.E browser
(HTML/
JavaScript)

CAN U GUIDE ME FOR THIS SIMPLE ASSIGNMENT FROM SCRATCH!!




        




View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873206#3873206

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873206


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to