Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 421 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
421
Dung lượng
12,51 MB
Nội dung
[...]... of JavaEE and GlassFish JavaEE (formerly called J 2EE) is a standard set of technologies for server-side Java development JavaEE technologies include Servlets, JavaServer Pages (JSPs), JavaServer Faces (JSF), Enterprise JavaBeans (EJBs), and the Java Messaging Service (JMS) Several commercial and open-source applicationJavaEE servers exist JavaEEapplication servers, such as GlassFish, allow application. .. more about GlassFish' s license, see https:/ /glassfish. dev .java. net/public/CDDL+GPL.html Like all Java EE- compliant application servers, GlassFish provides the necessary libraries to allow us to develop and deploy Java applications compliant with JavaEE specifications GlassFish Advantages With so many options in JavaEEapplication servers, why choose GlassFish? Besides the obvious advantage of GlassFish. .. and deploy Java EE- compliant applications Other open-source JavaEEapplication servers include Red Hat's JBoss, the Apache Software Foundation's Geronimo, and ObjectWeb's JOnAS Commercial application servers include BEA's Weblogic, IBM's Websphere, and the Oracle Application Server Getting Started with GlassFishGlassFish is an open-source, freely available, Java EEapplication server GlassFish is... on top of the JavaEE5 specification, including Seam, Facelets, and Ajax4Jsf Appendix A covers sending email from JavaEE Applications Appendix B covers IDE integration Who is This Book for This book is aimed at Java developers wishing to become proficient with JavaEE 5, who are expected to have some experience withJava and to have developed and deployed applications in the past, but need no previous... are having a problem with some aspect of the book, and we will do our best to address it [] Getting Started withGlassFish In this chapter, we will discuss how to get started withGlassFish Some of the topics discussed in this chapter are: • An overview of JavaEE and GlassFish • Obtaining GlassFish • Installing GlassFish • Verifying the GlassFish Installation • Deploying JavaEE Applications • Setting... 366 373 374 3 75 379 3 85 387 391 3 95 397 [] Preface Project GlassFish was formally announced at the 20 05 JavaOne conference Version one of the GlassFishapplication server was released to the public approximately a year later, at the 2006 JavaOne conference GlassFish version one became the reference implementation for the JavaEE5 specification, and as such, was the first available application server... availability allows GlassFish to be used in environments where it otherwise wouldn't be It is the JavaEE reference Implementation ° GlassFish is the JavaEE Reference implementation What this means is that other application servers may use GlassFish to make sure their product complies with the specification GlassFish could theoretically be used to debug other application servers If an application deployed... Facelets Application Writing a Facelets Application Facelets Templating Ajax4jsf Downloading Ajax4jsf Configuring Our JSF Application for Ajax4jsf Writing an AJAX-Enabled Applicationwith Ajax4jsf Seam Downloading Seam Configuring a Seam Application Developing a Seam Application Summary GlassFish Configuration Implementing Email Delivery Functionality NetBeans Eclipse 347 348 349 351 359 364 364 3 65 366... deployment of JavaEE 5- compliant application on GlassFish version 2 It also covers application development using frameworks that build on top of the JavaEE5 specification, including Facelets, Ajax4jsf, and Seam What This Book Covers Chapter 1 provides an overview of Glassfish, including how to install it, configure it, and verify the installation Chapter 2 covers how to develop server-side web applications... [glassfish installation directory]/ glassfish/ domains/domain1/logs/server.log The last few lines on this file should look something like this: [# |2007- 02-13T20 :57 :41.8 25- 050 0|INFO|sun-appserver9.1|javax.enterprise system.tools.deployment|_ThreadID=23;_ThreadName=Timer-4;|deployed with moduleid = simpleapp|#] [# |2007- 02-13T20 :57 :42.100- 050 0|INFO|sun-appserver9.1|javax.enterprise system.tools.deployment|_ThreadID=23;_ThreadName=Timer-4;|[AutoDeploy] . Getting Started with GlassFish 5
Overview of Java EE and GlassFish 5
GlassFish Advantages 6
Obtaining GlassFish 7
Installing GlassFish 8
GlassFish Dependencies. deploy Java applications compliant with
Java EE specications.
GlassFish Advantages
With so many options in Java EE application servers, why choose GlassFish?