Categories
Ebooks
-
Business and economy
- Bitcoin
- Businesswoman
- Coaching
- Controlling
- E-business
- Economy
- Finances
- Stocks and investments
- Personal competence
- Computer in the office
- Communication and negotiation
- Small company
- Marketing
- Motivation
- Multimedia trainings
- Real estate
- Persuasion and NLP
- Taxes
- Social policy
- Guides
- Presentations
- Leadership
- Public Relation
- Reports, analyses
- Secret
- Social Media
- Sales
- Start-up
- Your career
- Management
- Project management
- Human Resources
-
For children
-
For youth
-
Education
-
Encyclopedias, dictionaries
-
E-press
- Architektura i wnętrza
- Biznes i Ekonomia
- Home and garden
- E-business
- Finances
- Personal finance
- Business
- Photography
- Computer science
- HR & Payroll
- Computers, Excel
- Accounts
- Culture and literature
- Scientific and academic
- Environmental protection
- Opinion-forming
- Education
- Taxes
- Travelling
- Psychology
- Religion
- Agriculture
- Book and press market
- Transport and Spedition
- Healthand beauty
-
History
-
Computer science
- Office applications
- Data bases
- Bioinformatics
- IT business
- CAD/CAM
- Digital Lifestyle
- DTP
- Electronics
- Digital photography
- Computer graphics
- Games
- Hacking
- Hardware
- IT w ekonomii
- Scientific software package
- School textbooks
- Computer basics
- Programming
- Mobile programming
- Internet servers
- Computer networks
- Start-up
- Operational systems
- Artificial intelligence
- Technology for children
- Webmastering
-
Other
-
Foreign languages
-
Culture and art
-
School reading books
-
Literature
- Antology
- Ballade
- Biographies and autobiographies
- For adults
- Dramas
- Diaries, memoirs, letters
- Epic, epopee
- Essay
- Fantasy and science fiction
- Feuilletons
- Work of fiction
- Humour and satire
- Other
- Classical
- Crime fiction
- Non-fiction
- Fiction
- Mity i legendy
- Nobelists
- Novellas
- Moral
- Okultyzm i magia
- Short stories
- Memoirs
- Travelling
- Narrative poetry
- Poetry
- Politics
- Popular science
- Novel
- Historical novel
- Prose
- Adventure
- Journalism, publicism
- Reportage novels
- Romans i literatura obyczajowa
- Sensational
- Thriller, Horror
- Interviews and memoirs
-
Natural sciences
-
Social sciences
-
School textbooks
-
Popular science and academic
- Archeology
- Bibliotekoznawstwo
- Cinema studies
- Philology
- Polish philology
- Philosophy
- Finanse i bankowość
- Geography
- Economy
- Trade. World economy
- History and archeology
- History of art and architecture
- Cultural studies
- Linguistics
- Literary studies
- Logistics
- Maths
- Medicine
- Humanities
- Pedagogy
- Educational aids
- Popular science
- Other
- Psychology
- Sociology
- Theatre studies
- Theology
- Economic theories and teachings
- Transport i spedycja
- Physical education
- Zarządzanie i marketing
-
Guides
-
Game guides
-
Professional and specialist guides
-
Law
- Health and Safety
- History
- Road Code. Driving license
- Law studies
- Healthcare
- General. Compendium of knowledge
- Academic textbooks
- Other
- Construction and local law
- Civil law
- Financial law
- Economic law
- Economic and trade law
- Criminal law
- Criminal law. Criminal offenses. Criminology
- International law
- International law
- Health care law
- Educational law
- Tax law
- Labor and social security law
- Public, constitutional and administrative law
- Family and Guardianship Code
- agricultural law
- Social law, labour law
- European Union law
- Industry
- Agricultural and environmental
- Dictionaries and encyclopedia
- Public procurement
- Management
-
Tourist guides and travel
- Africa
- Albums
- Southern America
- North and Central America
- Australia, New Zealand, Oceania
- Austria
- Asia
- Balkans
- Middle East
- Bulgary
- China
- Croatia
- The Czech Republic
- Denmark
- Egipt
- Estonia
- Europe
- France
- Mountains
- Greece
- Spain
- Holand
- Iceland
- Lithuania
- Latvia
- Mapy, Plany miast, Atlasy
- Mini travel guides
- Germany
- Norway
- Active travelling
- Poland
- Portugal
- Other
- Russia
- Romania
- Slovakia
- Slovenia
- Switzerland
- Sweden
- World
- Turkey
- Ukraine
- Hungary
- Great Britain
- Italy
-
Psychology
- Philosophy of life
- Kompetencje psychospołeczne
- Interpersonal communication
- Mindfulness
- General
- Persuasion and NLP
- Academic psychology
- Psychology of soul and mind
- Work psychology
- Relacje i związki
- Parenting and children psychology
- Problem solving
- Intellectual growth
- Secret
- Sexapeal
- Seduction
- Appearance and image
- Philosophy of life
-
Religion
-
Sport, fitness, diets
-
Technology and mechanics
Audiobooks
-
Business and economy
- Bitcoin
- Businesswoman
- Coaching
- Controlling
- E-business
- Economy
- Finances
- Stocks and investments
- Personal competence
- Communication and negotiation
- Small company
- Marketing
- Motivation
- Real estate
- Persuasion and NLP
- Taxes
- Guides
- Presentations
- Leadership
- Public Relation
- Secret
- Social Media
- Sales
- Start-up
- Your career
- Management
- Project management
- Human Resources
-
For children
-
For youth
-
Education
-
Encyclopedias, dictionaries
-
History
-
Computer science
-
Other
-
Foreign languages
-
Culture and art
-
School reading books
-
Literature
- Antology
- Ballade
- Biographies and autobiographies
- For adults
- Dramas
- Diaries, memoirs, letters
- Epic, epopee
- Essay
- Fantasy and science fiction
- Feuilletons
- Work of fiction
- Humour and satire
- Other
- Classical
- Crime fiction
- Non-fiction
- Fiction
- Mity i legendy
- Nobelists
- Novellas
- Moral
- Okultyzm i magia
- Short stories
- Memoirs
- Travelling
- Poetry
- Politics
- Popular science
- Novel
- Historical novel
- Prose
- Adventure
- Journalism, publicism
- Reportage novels
- Romans i literatura obyczajowa
- Sensational
- Thriller, Horror
- Interviews and memoirs
-
Natural sciences
-
Social sciences
-
Popular science and academic
-
Guides
-
Professional and specialist guides
-
Law
-
Tourist guides and travel
-
Psychology
- Philosophy of life
- Interpersonal communication
- Mindfulness
- General
- Persuasion and NLP
- Academic psychology
- Psychology of soul and mind
- Work psychology
- Relacje i związki
- Parenting and children psychology
- Problem solving
- Intellectual growth
- Secret
- Sexapeal
- Seduction
- Appearance and image
- Philosophy of life
-
Religion
-
Sport, fitness, diets
-
Technology and mechanics
Videocourses
-
Data bases
-
Big Data
-
Biznes, ekonomia i marketing
-
Cybersecurity
-
Data Science
-
DevOps
-
For children
-
Electronics
-
Graphics/Video/CAX
-
Games
-
Microsoft Office
-
Development tools
-
Programming
-
Personal growth
-
Computer networks
-
Operational systems
-
Software testing
-
Mobile devices
-
UX/UI
-
Web development
-
Management
Podcasts
- Ebooks
- Computer science
- Business applications
- JBoss AS 7 Development. Learn from an expert and master JBoss Application Server through this brilliantly accessible book. It irons out the difficulties and covers creating, debugging, and securing Java EE applications. The only manual you need. - Second Edition
E-book details
Log in, If you're interested in the contents of the item.
JBoss AS 7 Development. Learn from an expert and master JBoss Application Server through this brilliantly accessible book. It irons out the difficulties and covers creating, debugging, and securing Java EE applications. The only manual you need. - Second Edition
Ebook
JBoss Application Server meets high standards of reliability, efficiency, and robustness, and is used to build powerful and secure Java EE applications. It supports the most important areas of Java Enterprise programming including EJB 3.1, Contexts and Dependency Injection, JAX-WS and JAX-RS web services, the security framework, and more. Getting started with JBoss application server development can be challenging; however, with the right approach and guidance, you can easily master it and this book promises that.Written in an easy-to-read style, this book will take you from the basics of JBoss AS—such as installing core components and plugins—to the skills that will make you a JBoss developer to be reckoned with, covering advanced topics such as developing applications with the JBoss messaging service, JBoss web services, clustered applications, and more.You will learn the necessary steps to install a suitable environment for developing enterprise applications on JBoss AS. You will also learn how to design Enterprise applications using Eclipse, JBoss plugins, and Maven to build and deploy your applications. Readers will learn how to enable distributed communication using JMS. Storing and retrieving objects will be made easier using the Java Persistence API. The core section of the book will take you into the programming arena with tested, real-world examples. The example programs have been carefully crafted to be easy to understand and useful as starting points for your applications.
This practical guide will show you how to gain hands-on experience rapidly on Java EE development using JBoss AS with easy-to-understand and practical programming examples.
This practical guide will show you how to gain hands-on experience rapidly on Java EE development using JBoss AS with easy-to-understand and practical programming examples.
- JBoss AS 7 Development
- Table of Contents
- JBoss AS 7 Development
- 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
- Support files, eBooks, discount offers and more
- 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
- 1. Getting Started with JBoss AS 7
- An overview of Java EE and JBoss AS 7
- Welcome to Java EE 6
- JavaServer Faces (JSF) 2.0
- Enterprise JavaBeans (EJB) 3.1
- Java Persistence API (JPA) 2.0
- Contexts and Dependency Injection for Java
- Java Servlet API 3.0
- Java API for web services (JAX-RS and JAX-WS)
- Java API for XML-based web services (JAX-WS)
- Java architecture for XML Binding (JAXB) 2.2
- Welcome to Java EE 6
- New features in JBoss AS 7
- Installing the server and client components
- Installing Java SE
- Testing the installation
- Installing JBoss AS 7
- Starting up JBoss AS
- Connecting to the server with the Command Line Interface
- Stopping JBoss
- Locating the shutdown script
- Stopping JBoss on a remote machine
- Restarting JBoss
- Installing the Eclipse environment
- Installing JBoss Tools
- Alternative development environments
- Installing Maven
- Testing the installation
- Installing Java SE
- Summary
- An overview of Java EE and JBoss AS 7
- 2. Whats New in JBoss AS 7
- AS 7 core concepts
- The AS 7 filesystem
- Managing the application server
- Managing JBoss AS 7 with the web interface
- Launching the web console
- Deploying your first application to JBoss AS 7
- Advanced Eclipse deployment options
- Managing deployments with the web console
- Changing the deployment scanner properties
- Deploying applications using the CLI
- Deploying applications to a domain
- Summary
- 3. Beginning Java EE 6 EJBs
- EJB 3.1 new features
- Developing singleton EJBs
- Configuring the project object module (pom.xml)
- Coding our EJB application
- Controlling bean concurrency
- Using bean-managed concurrency
- Cooking session beans
- Adding a stateless bean
- Adding a stateful bean
- Deploying the EJB application
- Creating a remote EJB client
- Configuring the client's project object module
- Coding the EJB client
- Adding EJB client configuration
- Running the client application
- Adding user authentication
- Using the EJB timer service
- Programmatic timer creation
- Scheduling timer events
- Adding asynchronous methods to our EJBs
- Using fire-and-forget asynchronous calls
- Returning a Future object to the client
- Summary
- 4. Learning Context Dependency Injection
- Introducing Context and Dependency Injection
- Named beans
- CDI scopes
- JBoss AS CDI implementation
- Rethinking your ticketing system
- Adding the required dependencies
- Coding the beans
- Building the view
- JSF 2 facet suggestions
- Getting ready to run the application
- Combining the scheduler into our application
- Installing RichFaces
- Making your application rich
- Running the application
- Building the view
- Are EJBs and JSF Managed Beans obsolete?
- Summary
- Introducing Context and Dependency Injection
- 5. Combining Persistence with CDI
- Data persistence meets a standard
- Working with JPA
- Adding persistence to our application
- Setting up the database
- Installing the JDBC driver on JBoss AS 7
- Using the command-line interface to create a new data source
- Creating the Maven project
- Adding Maven configuration
- Cooking entities
- Adding JavaBeans Validation
- Configuring persistence
- Adding producer classes
- Coding queries for your application
- Adding services to your application
- Adding a controller to drive user requests
- Coding the JSF view
- Running the example
- Summary
- Data persistence meets a standard
- 6. Testing Your Applications
- Unit testing and integration testing
- Instruments for testing
- Getting started with Arquillian
- Writing an Arquillian test
- Configuring the pom.xml file
- Writing your first Arquillian test
- Running Arquillian TicketTest
- Running Arquillian TicketTest with a managed container
- Enhancing your Arquillian test
- Additional information
- Summary
- Unit testing and integration testing
- 7. Developing Applications with JBoss JMS Provider
- A short introduction to JMS
- The building blocks of JMS
- The JBoss messaging subsystem
- Creating and using connection factories
- Using JMS destinations
- Adding message-driven beans to your application
- Cooking message-driven beans
- Adding the JMS producer
- Compiling and deploying the application
- Optimizing JMS connections
- Specifying which message to receive using selectors
- Using JMS to integrate with external systems
- A real-world example HornetQ and ActiveMQ integration
- Installing the ActiveMQ resource adapter
- Consuming ActiveMQ messages
- Summary
- 8. Adding Web Services to Your Applications
- Developing SOAP-based web services
- Strategies for building SOAP web services
- JBoss SOAP web services stack
- A brief look at the JAX WS architecture
- Coding SOAP web services with JBoss AS 7
- Developing a POJO web service
- Inspecting the web service from the console
- Testing our simple web service
- EJB3 Stateless Session Beans (SLSB) web services
- Developing a web service consumer
- Compiling the example
- Developing REST-based web services
- Accessing REST resources
- JBoss REST web services
- Activating RESTEasy
- Adding REST to our Ticket example
- Consuming our REST service
- Compiling our Ticket example
- Choosing between SOAP and REST services
- Summary
- Developing SOAP-based web services
- 9. Managing the Application Server
- Entering the JBoss Command Line Interface (CLI)
- Launching the CLI
- Connecting from remote hosts
- Using the CLI in the graphical mode
- Constructing the CLI commands
- Determining the resource address
- Performing operations on resources
- Using the tab completion helper
- Deploying applications using the CLI
- Deploying applications to a JBoss AS 7 domain
- Deploy to all server groups
- Deploy to a single server group
- Creating CLI scripts
- Deploying an application to several JBoss AS 7 nodes
- Restarting servers in a domain
- Installing a datasource as a module
- Adding JMS resources
- Launching the CLI
- Using advanced languages to create powerful CLI scripts
- Using scripting languages to wrap CLI execution
- Using the raw management API to manage the application server
- Reading management model descriptions via the raw management API
- Creating your resource watches using the detyped API
- Reading management model descriptions via the raw management API
- Summary
- Entering the JBoss Command Line Interface (CLI)
- 10. Clustering JBoss AS 7 Applications
- Clustering basics
- JBoss AS 7 clustering
- Starting a cluster of standalone nodes
- Starting a cluster of domain nodes
- The domain controller configuration
- Host configurations
- Deploying clustered applications
- Clustering EJBs
- Creating HA Stateful Session Beans
- Clustering the Ticket example
- Turning your cache into a distributed cache
- Coding the cluster-aware remote client
- Deploying and testing high availability
- Creating HA Stateful Session Beans
- Clustering EJBs
- Web application clustering
- Load balancing your web applications
- Installing mod_cluster
- Clustering your web applications
- Programming considerations to achieve HA
- Achieving HA in JSF applications
- Load balancing your web applications
- Summary
- 11. Securing JBoss AS 7 Applications
- Approaching the Java security API
- JBoss AS 7 security subsystem
- Setting up your first login module
- Using the login module in the Ticket web application
- Switching to FORM-based security
- Creating a Database login module
- Encrypting passwords
- Using the Database login module in your application
- Securing EJBs
- Securing web services
- Securing the transport layer
- Enabling the Secure Socket Layer on JBoss AS
- Certificate management tools
- Securing the HTTP communication with a self-signed certificate
- Securing HTTP communication with a certificate signed by a CA
- Securing EJB communication
- Generating the server and client certificates
- Creating an SSL-aware security realm
- Creating an SSL-aware security realm
- Enabling the Secure Socket Layer on JBoss AS
- Summary
- Approaching the Java security API
- A. Rapid Development Using JBoss Forge
- Installing Forge
- Starting Forge
- Creating your first Java EE 6 application with JBoss Forge
- Building and deploying the application
- Your forge-demo application in action
- Index
- Title: JBoss AS 7 Development. Learn from an expert and master JBoss Application Server through this brilliantly accessible book. It irons out the difficulties and covers creating, debugging, and securing Java EE applications. The only manual you need. - Second Edition
- Author: Francesco Marchioni
- Original title: JBoss AS 7 Development. Learn from an expert and master JBoss Application Server through this brilliantly accessible book. It irons out the difficulties and covers creating, debugging, and securing Java EE applications. The only manual you need. - Second Edition
- ISBN: 9781782161356, 9781782161356
- Date of issue: 2013-06-24
- Format: Ebook
- Item ID: e_3bov
- Publisher: Packt Publishing