1 option
JBoss at work : a practical guide / Tom Marrs and Scott Davis.
- Format:
- Book
- Author/Creator:
- Marrs, Tom.
- Language:
- English
- Subjects (All):
- JBoss.
- Application software--Development.
- Application software.
- Enterprise application integration (Computer systems).
- Java (Computer program language).
- Physical Description:
- 1 online resource (308 p.)
- Edition:
- First edition.
- Place of Publication:
- Sebastopol, California : O'Reilly Media, 2006.
- Language Note:
- English
- System Details:
- text file
- Summary:
- Consisting of a number of well-known open source products, JBoss is more a family of interrelated services than a single monolithic application. But, as with any tool that's as feature-rich as JBoss, there are number of pitfalls and complexities, too. Most developers struggle with the same issues when deploying J2EE applications on JBoss: they have trouble getting the many J2EE and JBoss deployment descriptors to work together; they have difficulty finding out how to get started; their projects don't have a packaging and deployment strategy that grows with the application; or, t
- Contents:
- Table of Contents; Preface; Audience; About This Book; Assumptions This Book Makes; Conventions Used in This Book; Using Code Examples; Safari Enabled; Comments and Questions; Acknowledgments; Tom's Acknowledgments; Scott's Acknowledgments; Getting Started with JBoss; Why "JBoss at Work"?; Why JBoss?; The Example: JAW Motors; The Tools; Installing Java; Installing Ant; Installing XDoclet; Installing JBoss; Touring the JBoss Directory Structure; Server Configurations; Touring the Server Configuration Directory Structure; Deploying Applications to JBoss; Looking Ahead...; Web Applications
- The Servlet ContainerThree-Tier Applications; Exploring the Presentation Tier; Building the View Cars Page; Iteration 1: HTML; Iteration 2: JSP and JSTL; Iteration 3: CSS; Deploying the Application as a WAR File; A Deeper Examination of the WAR; Ant; Adding a Model and Controller; The Model; The Controller; Looking Ahead...; Building and Deploying an EAR; WARs Versus EARs; Application.xml; Common JAR; Exploring the New Directory Structure; The common sub-project; The webapp sub-project; The master build; Ant EAR task; Deploying the EAR; Adding a DAO; Using XDoclet; Looking Ahead...
- Databases and JBossPersistence Options; JDBC; JNDI; JNDI References in web.xml; JBoss DataSource Descriptors; JDBC Driver JARs; Database Checklist; Accessing the Database Using Ant; Creating JDBCCarDAO; Looking Ahead...; Hibernate and JBoss; The Pros and Cons of ORMs; Hibernate Mapping Files; Hibernate MBean Service Descriptor; Creating a HAR; Adding the HAR to the EAR; Creating a JNDI Lookup; Hibernate Checklist; HibernateCarDAO; Adding a Car; Editing a Car; Deleting a Car; Looking Ahead...; Stateless Session Beans; Issues with EJBs; Should I Use EJB or Not?; Business Tier; Enterprise JavaBeans
- Our ExampleIteration 1-Introduce a Session Bean; Modifying the CAR Table; Upgrading the CarDTO with a Status Field; Adding filterByStatus() to the HibernateDAO; Calling the Session Bean from the Controller Servlet; Factoring Out the JNDI Calls; EJB-Based JNDI References in Web-Based Deployment Descriptors; Automating EJB-Related JNDI Settings in Web-Based Deployment Descriptors; Session Bean Types; Session Beans; Remote Versus Local EJB Calls; Exploring the New Directory Structure; The ejb sub-project; Local and Remote Interfaces; Local Interface; Remote Interface; Home Interfaces
- Local Home InterfaceRemote Home Interface; The Bean Class; EJB Deployment Descriptors; EJB Transaction Settings; Difficulties Using EJB; Automating Stateless Session Bean Deployment UsingXDocletTags; Ant Build Script Using XDoclet; EJB JAR File; Ant Task for Creating EJB JAR; Adding an EJB JAR to the EAR; Reviewing Iteration 1; Testing Iteration 1; Iteration 2-Move Business Logic Out of the Controller; Refactoring the Business Logic; Hibernate 3 and CMT; Reviewing Iteration 2; Testing Iteration 2; Iteration 3-Buy a Car; Upgrade the Web Site: Adding a "Buy Car" Link
- Creating the ACCOUNTING Table
- Notes:
- "Building and deploying J2EE in the real world."--Cover.
- Includes index.
- Description based on print version record.
- ISBN:
- 9780596522377
- 0596522371
- OCLC:
- 64549874
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.