Hello, I'm starting a new web development project and not sure if I should use JSP or J2EE. Is there a difference? I want to use all open/free software. I was thinking about using Sun's J2EE Server and writing J2EE code. Can i use the J2EE server and write JSP code. Which method would be better? I have a couple years of Java experience but no JSP or J2EE experience.
J2EE is a name for a broad family of technologies. The two we usually talk about most are the Servlet (and JSP) container and the EJB container.
Servlet technology is a great choice for the presentation side of web apps. You can get any number of free Servlet containers that are production worthy. You can build from scratch or use frameworks like Struts.
EJB is one of many choices for building the business side of your application. It's pretty far over on the "non-trivial" scale to understand and get going, and may be overkill for many smaller systems.
Search out some J2EE introductory information at Sun and see if the way the various technologies work together makes sense.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Mike, please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please continue any discussion of this topic in the JSP forum.