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

Key: EJB-81
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Vance Karimi
Reporter: Olivier THIERRY
Votes: (View)
Watchers: (View)
Operations

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

Stereotype <<WebRemote>> doesn't work

Created: 23/Aug/07 09:18 AM   Updated: 23/Aug/07 09:18 AM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Environment: AndroMDA 3.2 + EJB3 Cartridge


 Description   
When you model an operation with a <<WebRemote>> stereotype, EJB3 cartridge doesn't generate the @WebRemote annotation for this method in the SessionBeanBase class.

To make it work, you have to replace these lines in SessionBeanBase.vsl template :

#* *##if ($operation.seamConversationWebRemote)
@org.jboss.seam.annotations.WebRemote#if ($stringUtils.isNotEmpty($operation.seamConversationWebRemoteParameters))$operation.seamConversationWebRemoteParameters#end

by these ones :

#* *##if ($operation.seamWebRemote)
@org.jboss.seam.annotations.WebRemote#if ($stringUtils.isNotEmpty($operation.seamWebRemoteParameters))$operation.seamWebRemoteParameters#end

 All   Comments   Change History      Sort Order:
There are no comments yet on this issue.