I started looking at JSP yesterday and a question I asked my friend was:
"is there not something like an online manual for JSP? Something like php.net"
He replied : "There isn't such, because it is expected that you use a framework if you code with JSP" and later recommended that I start with Struts(citing that it has better documentation than Spring.
Biase aside, and given my little background in J2SE development, what framework can you recommend and why (take note, I have no experience in JSP development yet, and up until yesterday, the only web programming language I know is PHP).
Servlets and JSPs The Servlet and JSP are incredibly simple ways to handle an incoming request, and to develop HTML that gets displayed inside a client's web browser, respectively. All the existing Java-based web frameworks simply build on top of the Servlet and JSP API.
JSP and JSF It is the standard for Java web frameworks like Eclipse Mojarra, MyFaces, and PrimeFaces. While it's not uncommon to see JSP used as the front end for older JSF applications, Facelets is the preferred view technology for modern JSF implementations.
JavaServer Pages (JSP) The JSP technology is an open, freely available specification developed by Sun Microsystems as an alternative to Microsoft's Active Server Pages (ASP) technology, and a key component of the Java 2 Enterprise Edition (J2EE) specification.
JSP (JavaServer Pages) is server side technology to create dynamic java web application. JSP can be thought as an extension to servlet technology because it provides features to easily create user views. JSP Page consists of HTML code and provide option to include java code for dynamic content.
I found Head First Servlets and JSP to be a great teaching book on JSP and servlets. It teaches it pretty purely without getting into any specific frameworks. It does near the end go over a model for developing web pages which describes pretty much how the struts framework works (and does reveal at the end of the chapter this is what struts does). This would be my recommendation... really like the Head First series books.
"is there not something like an online manual for JSP? Something like php.net"
JSP and PHP are like apples and pears. Strictly speaking, the API and the TLD documentations are your manuals.
To avoid wasting more words, I'll just link the answer I've already given on that subject: Java EE web development, where do I start and what skills do I need?
With regard to frameworks, there are a lot. But with Java EE 6 in mind, I would just suggest to go ahead with JSF. The aforementioned link includes more links and information.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With