History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: EJB-47
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Vance Karimi
Reporter: Sverker Abrahamsson
Votes: (View)
Watchers: (View)
Operations

If you were logged in you would be able to see more operations.
EJB Cartridge

Patch for Seam support

Created: 30/Nov/06 02:01 PM   Updated: 24/Jan/07 01:28 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

File Attachments: 1. Zip Archive EJB3MetafacadeModel.xml.zip (61 kb)
2. Java Source File EJB3SessionOperationParameterFacadeLogicImpl.java (1 kb)
3. Text File andromda-ejb3.patch (135 kb)
4. Zip Archive andromda-profile-seam-1.1-SNAPSHOT.xml.zip (107 kb)
5. Zip Archive andromda-profile-seam-1.1-SNAPSHOT.xml.zip (107 kb)



 Description   
I've started to use the ejb3 cartridge for generating Seam applications, hence I needed the rest of the functionality which wasn't implemented.

Actions taken:
* The profile has been updated to contain all annotations of Seam 1.1. Hence I updated the version number of the profile to follow seam version.

* The UML metafacade model has been updated in the service bean section to support the profile.

* The cartridge SessionBeanBase template and supporting code has been updated accordingly.

What is left to do is to look at any seam enhancements to entity and message driven beans. Also there are some annotations that are set on operation parameters, as the signature of the operation is returned from somewhere higher up in the class hierarchy I haven't found how to do that.

Another question, in the session bean template it was necessary to have hibernateExtensionEnabled set otherwise seam annotations wouldn't be generated on attributes. However, I could not find how to set hibernateExtensionEnabled. It didn't work in the generated project neither so temporarily now I've commented it out.

 All   Comments   Change History      Sort Order:
Comment by Sverker Abrahamsson [30/Nov/06 02:02 PM]
The patch

Comment by Sverker Abrahamsson [30/Nov/06 02:05 PM]
Updated profile

Comment by Sverker Abrahamsson [30/Nov/06 02:06 PM]
Updated uml model

Comment by Sverker Abrahamsson [30/Nov/06 02:08 PM]
New source file

Comment by Vance Karimi [19/Dec/06 01:34 AM]
Nice work Sverker :) I'll merge this in - note that CVS is now dpendent on AndroMDA 3.3-SNAPSHOT & I had updated the model to reflect this.

There is now a profile project under andromda-project which will contain the seam profile. Also, I cannot successfully download your attached andromda-profile-seam-1.1-SNAPSHOT.xml.zip module. I keep getting an error saying premature end of file. Can you check your file locally and reattached pls.

Comment by Vance Karimi [19/Dec/06 01:36 AM]
Sorry, I meant a profile project under andromda-plugins.

Comment by Sverker Abrahamsson [19/Dec/06 01:37 AM]
New try

Comment by Vance Karimi [24/Jan/07 01:28 PM]
These patches have now been applied - thanks for all your efforts Sverker.

EJB3 docs have also been updated with basic docs along with a sample application provided. There is room for improvement!

Wait for feedback before closing the issue.