In this tutorial we will create a simple Java EE application from scratch using the Maven archetypes provided by Sculptor. It consists of the following projects:
• sculptor-helloworld-parent - Only a maven project for building the other parts.
• sculptor-helloworld - Business tier. EJB project containing the services and domain objects.
• sculptor-helloworld-web - Presentation tier. Web application with CRUD GUI.
• sculptor-helloworld-ear - EAR package of the deployable application.
Read the rest of this entry »
In this tutorial we will create a simple Java EE application. It consists of the following projects:
• sculptor-helloworld-parent - Only a maven project for building the other parts.
• sculptor-helloworld-ejb - EJB project containing the services and domain objects. Same as Hello World Tutorial.
• sculptor-helloworld-web - Web application consisting of a jsp, which invokes the EJB service.
• sculptor-helloworld-ear - EAR package of the deployable application.
Read the rest of this entry »
Simple template to introduce XDoclet First template: XDoclet architecture Case study: Create Web Service Deployment Descriptor 1st try Case study: Create Web Service Deployment Descriptor 2nd try Summary and resources Use XDoclet to generate Web service support files ibm.com/developerWorks Presented by developerWorks, your source for great tutorials Section 1. About this tutorial What is XDoclet? You can skip this page if you already use XDoclet or already read the first XDoclet tutorial. XDoclet facilitates automated deployment descriptor generation.
Read the rest of this entry »
XDoclet is basically just a code generation tool. Many applications have redundant code and/or interfaces and this is where XDoclet comes into play. You can update one source file and use XDoclet to regenerate the affected files. The incredible improvements to content management are clearly obvious. XDoclet parses source code like JavaDoc. By reading JavaDoc tags embedded in source code, XDoclet uses predefined templates to generate code based on those tags. A common use of XDoclet is to embed tags in EJB’s and automatically generate all of the interfaces, beans, and XML descriptors.
Read the rest of this entry »
This tutorial shows J2EE developers how to use XDoclet to speed development. XDoclet simplifies continuous integration between components using attribute-oriented programming. It allows you to radically reduce development time by generating deployment descriptors and support code, allowing you to focus on application logic code. If you are a J2EE development veteran, then you realize keeping code in sync with deployment descriptors can be a drag. Often you may need to reuse components with other applications or in other environments like other application servers or with other database systems. You need to keep separate deployment descriptor for each application/environment combination, even if only one or two lines of the large deployment descriptor changes, you need to have a deployment descriptor for every possible configuration.
Read the rest of this entry »
An introduction and walkthrough of JBoss Eclipse IDE 2.1. Introduction The goal of this tutorial is to demonstrate how simple it is to develop J2EE applications with JBoss Eclipse IDE. The sample application that will be built is a J2EE application with one session EJB and one Servlet, which computes the Fibonacci suite. The tutorial is split into several parts: • The Project: this part shows how the project is prepared (source and build path) • The EJB: this part shows how to write an EJB class with its XDoclet javadoc tags. • Generation of EJB files: this part shows how to configure the XDoclet generation configuration to generate all the EJB related files
Read the rest of this entry »