In part 1 of this tutorial we created an EJB using Netbeans and Visual Paradigm, in part 2 a little ZK application to read data using the EJB. In part 3 we will move away from the Derby DB to PostgreSQL and Oracle DB and challenge ourselves with identifier more than 30 characters, which is an issue for Oracle (yes, it is 2011). We will add columns with more than 30 characters and play with a few different column types (the ones showing up in a normal DB layout).
- Add new fields to the ERD
- Continue reading
In part 1 of this tutorial we walk through the modeling and code creation of an EJB using Netbeans and Visual Paradigm. In part 2 we will create a simple sample ZK web application that reads data using the EJB.
- The project from completed tutorial part 1
- Create web application ‘demoejbweb’
The only commercial product in my toolbox is Visual Paradigm, a professional UML and modeling tool that integrates with the Netbeans IDE. If you are sincere about ERD, Use-Case and class models you should look at it. The available Netbeans plugins for UML could not convince me yet, too simple (but free). Visual Paradigm seems to operate at the other end, looks rather overloaded with functionality, but once you know what you want and where the function is located, you can create a nice workflow.
In this tutorial (created for internal purpose) I share the steps to create an EJB and the ERD model and let VP (Visual Paradigm) create the class source code for me.
- Netbeans 7.x
- Visual Paradigm (Professional Version)
You can download the 30 days trial, the free community edition is not sufficient.
Tutorial Part 1:
- Create EJB module ‘demoejb’
Will join this 2 days course run by Processworks (Phil Robinson) to round up the use of UML. The possibilities you have with UML is tremendous but you easily can get lost in the attempt to make usa of all diagrams !
Check the course content here: Link – Requirements Analysis (A UML Use Case Approach)
17. and 18. November 2008, Singapore