J2EE
J2EE is an abbreviation for Java 2 Enterprise Edition—a bucket of technologies that includes, among other things, the standard Java framework for building Web applications. The main Web-related components of J2EE are Java servlets, which are quite similar to CGI programs except that they’re written in Java, and JavaServer Pages, which are essentially HTML pages that can have Java code embedded within them.
Servlets and JSP are complementary, not alternatives. Generally, large systems are built using both servlets and JSPs—the hard core processing is written using servlets, and the information is presented to the user using a JSP. That’s one option. You can also write servlets that print out HTML (such as CGI scripts), or you can write JSPs ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access