12.07.2015 Views

Beginning Java EE 6 with GlassFish 3, Second Edition

Beginning Java EE 6 with GlassFish 3, Second Edition

Beginning Java EE 6 with GlassFish 3, Second Edition

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHAPTER 1 ■ JAVA <strong>EE</strong> 6 AT A GLANCEFigure 1-2. Standard <strong>Java</strong> <strong>EE</strong> containersComponentsThe <strong>Java</strong> <strong>EE</strong> runtime environment defines four types of components that an implementation mustsupport:• Applets are GUI applications that are executed in a web browser. They use the richSwing API to provide powerful user interfaces.• Applications are programs that are executed on a client. They are typically GUIs orbatch-processing programs that have access to all the facilities of the <strong>Java</strong> <strong>EE</strong>middle tier.• Web applications (made of servlets, servlet filters, web event listeners, JSP pages,and JSF) are executed in a web container and respond to HTTP requests from webclients. Servlets also support SOAP and RESTful web service endpoints. Starting<strong>with</strong> <strong>Java</strong> <strong>EE</strong> 6, web applications can also contain EJBs Lite (more on that inChapter 6).5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!