Lehrveranstaltungen
Component-based Software Engineering
Lecture with exercise (SS 23) - Web-LinksReflection and Metaprogramming
Here you can find interesting links on reflection and metaprogramming.
Enterprise JavaBeans
JBoss Application Server
My favourite application server for EJBs is JBoss an open-source, 100% pure Java application server, which is comparatively easy to get started with. There even exists an IDE plugin for Eclipse, complete with its own tutorial.
While using these tools is not mandatory, I am going to use them to test your results, and I also recommend you use them, because they make getting started pretty easy.
Getting the naming right can sometimes be tricky. Here is how you can inspect the current namespace of a running JBoss server:
- With JBoss running, open a webbrowser and point it to http://localhost:8080/jmx-console
- You see an overview of all the different services and components running in the application server. Some of them are EJB components, some are application server components. Select the service called JNDI-View.
- In the service detail pane you can invoke the business methods of the service. Invoke the "list" operation. You can now see a complete namespace listing.
SUN material
SUN provide loads of interesting material about EJB. Among them are:
- The EJB specification (not for the feebly minded :-))
- A pretty comprehensive tutorial on everything related to the Java Enterprise Edition
XDoclet
The times when building EJB applications meant you had to write lots of stupid code and XML descriptors are long past. For quite some years now, XDoclet provides means of generating all this stuff from Javadoc markup in your central implementation class. The JBoss IDE also makes heavy use of XDoclet, so you should browse the XDoclet pages to get an understanding of how it works, and lookup additional doclets and generation tasks, including useful parameters.
WebServices
Here are some links for web service development:
- J2EE Tutorial
- A SOAP Tutorial Notice, that for modern versions of SOAP, you need to use a different SOAP XML namespace for the SOAP envelope, namely: http://schemas.xmlsoap.org/soap/envelope.
- Apache Axis, a Web Services Server Engine and Development Framework
Other component models