Develop Java EE applications with Eclipse and commonly used technologies and frameworks. Intro -- Java EE Development with Eclipse -- Table of Contents -- Java EE Development with Eclipse -- Credits -- About the Author -- About the Reviewers --...
more
Develop Java EE applications with Eclipse and commonly used technologies and frameworks. Intro -- Java EE Development with Eclipse -- Table of Contents -- Java EE Development with Eclipse -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Support files, eBooks, discount offers and more -- Why Subscribe? -- Free Access for Packt account holders -- Instant Updates on New Packt Books -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Downloading the example code -- Errata -- Piracy -- Questions -- Copyright Credits -- 1. EJB 3.0 Database Persistence -- Configuring a data source -- Creating tables in the Oracle database -- Creating an EJB project -- Adding the JPA facet -- Creating entity beans from tables -- Defining entity relationships -- Setting cascade -- Generating default entities -- Creating the Catalog entity -- The Catalog entity class -- Creating the Edition entity -- The Edition entity class -- Creating the Section entity -- The Section entity class -- Creating the Article entity -- The Article entity class -- Creating the JPA persistence configuration file -- Creating a session bean facade -- Creating an EntityManager -- Specifying getter methods -- Creating test data -- The session bean class -- The remote business interface -- Creating the application.xml descriptor -- Creating a test client -- The catalog.jsp file -- Packaging and deploying the entity bean application -- The build script -- Running the build script -- Testing the JSP client -- Summary -- 2. O/X Mapping with JAXB 2.x -- JAXB 2.x advantages -- Creating a JAXB project -- Creating an XML Schema -- Compiling the XML Schema -- Marshalling an XML document -- Unmarshalling an XML document -- Java to XML mapping -- Summary -- 3. Developing a Web Project for JasperReports -- Setting the environment -- Creating a Dynamic Web project in Eclipse.
Includes index. - Electronic reproduction; Palo Alto, Calif; ebrary; 2013; Available via World Wide Web; Access may be limited to ebrary affiliated libraries
Table of Contents; Java EE Development with Eclipse; Java EE Development with Eclipse; Credits; About the Author; About the Reviewers; www.PacktPub.com; Support files, eBooks, discount offers and more; Why Subscribe?; Free Access for Packt account holders; Instant Updates on New Packt Books; Preface; What this book covers; What you need for this book; Who this book is for; Conventions; Reader feedback; Customer support; Downloading the example code; Errata; Piracy; Questions; Copyright Credits; 1. EJB 3.0 Database Persistence; Configuring a data source; Creating tables in the Oracle database
Creating an EJB projectAdding the JPA facet; Creating entity beans from tables; Defining entity relationships; Setting cascade; Generating default entities; Creating the Catalog entity; The Catalog entity class; Creating the Edition entity; The Edition entity class; Creating the Section entity; The Section entity class; Creating the Article entity; The Article entity class; Creating the JPA persistence configuration file; Creating a session bean facade; Creating an EntityManager; Specifying getter methods; Creating test data; The session bean class; The remote business interface
Creating the application.xml descriptorCreating a test client; The catalog.jsp file; Packaging and deploying the entity bean application; The build script; Running the build script; Testing the JSP client; Summary; 2. O/X Mapping with JAXB 2.x; JAXB 2.x advantages; Creating a JAXB project; Creating an XML Schema; Compiling the XML Schema; Marshalling an XML document; Unmarshalling an XML document; Java to XML mapping; Summary; 3. Developing a Web Project for JasperReports; Setting the environment; Creating a Dynamic Web project in Eclipse; Creating the configuration file
Creating a web applicationCreating a report design; Setting the report title; Creating a JDBC connection; Generating a PDF report; Creating an Excel report; Packaging and deploying the web application; Running the web application; Summary; 4. Creating a JSF Data Table; Setting the environment; Creating a web project; Creating a managed bean; Constructing the managed bean class; The managed bean class; Creating a JSF page; Adding components to the JSF page; The JSF page; Running the JSF page; Summary; 5. Templating with Facelets; Facelets structure; Setting the environment
Configuring JSF 2.0 support in WLSCreating a Facelets project; Creating a managed bean; Creating a Facelets template; Creating Facelets; Creating navigation; Running the Facelets application; Summary; 6. Creating Apache Trinidad User Interfaces; Configuring Trinidad; Setting the environment; Creating a Trinidad project; Creating Trinidad UIs; Creating a managed bean; Adding Trinidad components; Running the Trinidad application; Summary; 7. Creating an AJAX Application; Setting the environment; Creating a Dynamic Web project; Creating a web application for AJAX; Creating a servlet