Tuesday, 15 February 2011

JavaEE 6 with Glassfish is Nearly There!

It's good to report that we're approaching the final stages of recording the JavaEE course. Just two more scripts to write and a few more recording sessions and we're there.

The running order right now looks like this (and it shouldn't change too much in post production):

1: Getting Started with Glassfish
2: Writing an EJB Session Bean
3: JNDI and Calling Remote Session Beans
4: More on Session Beans
5: The Java Persistence API: Mapping Classes
6: JPA2: Updates and Deletes
7: JPA: Relationships
8: JPA2: Queries using JPQL and The JPA2 Criteria API
9: JPA in a Managed Environment: the PersistenceContext
10: Declarative Transactions
11: JSF fundamentals
12: JSF Component Libraries (including Prime Faces)
13: Security in JavaEE
14: Webservices and REST
15: Messaging and Message Driven Beans

This is probably going to turn out to be our biggest course yet.

I decided to cover just one application server, Glassfish, as to cover more than that would confuse and overload the course. But everything on the course should work just fine on other app servers. We may release variants for other servers if there's a demand.

The estimated release time will be early March. The only block in the way is that writing the Webservices and REST chapter is proving very difficult as Webservices is a big topic that is orthogonal to Java. As always, I'll be aiming to make the material understandable to all, so I am having to do a lot of working covering the basics of SOAP, WSDLs, REST and the like.

But it will be worth it! My next post will probably be announcing the course release, so watch this space!


  1. Hi,

    I am trying to run spring security oauth2 course application. The application is getting deployed into tomcat but when i access the application on browser i am getting the following error.

    org.apache.jasper.JasperException: Unable to compile class for JSP:

    An error occurred at line: 1 in the generated java file
    The type java.io.ObjectInputStream cannot be resolved. It is indirectly referenced from required .class files

  2. Hi, if you're doing a VirtualPairProgrammers course (the OAuth on Spring one?), the best route is to drop our support team at VirtualPairProgrammers.com/contact.html - they'll be able to help better than I can here. But this sounds like the now infamous problem that was introduced by a patch version of Java 8. Full details on the top answer here:


    The easy fix is to drop your JDK version back to something like Java 7. If you are doing our course, you won't lose anything by doing that.

    The other way around is to upgrade your Tomcat to the latest possible (the version 9 series is supposed to support Java 8 but it is still in milestone). However, be aware if you do this, the version supplied by the course was slightly modified to remove file locking problems on Windows. We modified the context.xml file slightly. So be sure to copy these changes across also. (I recommend downgrading the JDK version, it's quicker and less troublesome. You can upgrade Tomcat once you've done the course).