Tutorials: EJB3 and Web Services with Apache Axis2

Interested in live training from the author of these tutorials?
See the upcoming public J2EE courses in Maryland, or contact
hall@coreservlets.com for info on customized versions at your location.


This page contains tutorials on miscellaneous Java EE topics that were too short to be contained in the longer and more detailed tutorials covered elsewhere. These are relatively brief tutorials that try to give you a quick start on the basics, but have a lot less detail than the tutorials in most of the other sections. Click on a topic below to get the detailed tutorial, download the source code, or try out exercises on the topic.

The training courses on which these tutorials are based are usually taught on-site at customer locations, but public training courses are periodically scheduled for people with too few developers for an onsite course. For descriptions of the various other courses that are available, please see the J2EE training course page. To inquire about a customized training course at your location, please contact Marty Hall at hall@coreservlets.com.

If you find these free tutorials helpful, we would appreciate it if you would link to us.

JBoss 5.0 and Glassfish 2.1: Installation and Setup

  • This tutorial section in PDF.
  • Source code of examples in this section:
    • jboss-test.zip.
      Simple non-EJB app to test JBoss deployment, with JBoss given as Target Runtime. Can also be deployed to Glassfish or Tomcat.
    • glassfish-test.zip.
      Simple non-EJB app to test Glassfish deployment, with Glassfish given as Target Runtime. Glassfish adapter inserts non-portable project facet, so cannot be deployed to Glassfish or Tomcat without tweaking.
  • Topics covered:
    • JBoss
      • Downloading
      • Documentation
      • Installation with Eclipse 3.4 and 3.5
      • Making and deploying sample apps
    • Glassfish
      • Downloading
      • Documentation
      • Installation with Eclipse 3.4 and 3.5
      • Making and deploying sample apps

EJB3: Session Beans

  • This tutorial section in PDF.
  • Source code of examples in this section:
    • lucky-numbers.zip.
      EJB app to illustrate creation of session beans. Had JBoss as Target Runtime, but can also be deployed to Glassfish.
    • lucky-numbers-client.zip.
      Dynamic Web Project that acts as client for session beans. Had JBoss as Target Runtime, but can also be deployed to Glassfish by switching the jndi.properties file (details in slides).
  • Exercises to reinforce the concepts in this section.
  • Topics covered:
    • Stateless session beans
    • Deploying EJB projects to server
    • Remote clients for stateless session beans
    • Stateful session beans
    • Local access to EJBs

EJB3: Message-Driven Beans

Building SOAP-Based Web Services with Apache Axis2
Part I: Java-First (Bottom-Up) Services

Building SOAP-Based Web Services with Apache Axis2
Part II: Clients from Java-First (Bottom-Up) Services

More Information

Java

JSF (JavaServer Faces)

Servlets & JSP
Ajax, GWT, & JavaScript

Spring, Hibernate, & JPA

Struts