Sunday, October 3, 2004 12:50 AM
I agree it is a very basic question and let me try to answer which you may not take as absolute one as the approaches may differ with people.
(1)Since you say it involves database, first design the database tables.
(2) Decide on the Application server ie. JBoss, WL or something similar. If you decide not to use EJB then forget this step.
(3) Write a simple JDBC test connection program to test your environment to work properly with JDBC.
(4) Design your GUIs ie. HTML screens.
(5)Once atleast one screen is ready, then create a Form class and Action class for that screen. Then convert the HTML files with Struts tags. This includes your Processor class writing and struts-config.xml file createion etc. to build the basic struts framework.
For step5 you must know the basics of Struts framework.
(6) If you don't use EJB then your action (or other Java classes) will make use of the JDBC to connect to the database for your data storage and retrieval.
Now deploy your work in the WebServer and keep going further with other screens.
If you are a first timer, you may struggle for about a few day to figure out and compare yours with some Struts sample application etc. then you will get it right and start enjoying coding !!