[ http://jira.andromda.org/browse/EJB-13?page=history ]

Lorenz Froihofer updated EJB-13:
--------------------------------

    Attachment: SessionRemote.vsl-attributes-patch.diff

This patch resolves this bug by only adding attributes with public visibility 
to the remote interface (SessionRemote.vsl). Interestingly, this bug is not 
present in SessionLocal.vsl.

> [Stateful session bean] bean interface and bean implementation class does not 
> match
> -----------------------------------------------------------------------------------
>
>          Key: EJB-13
>          URL: http://jira.andromda.org/browse/EJB-13
>      Project: EJB Cartridge
>         Type: Bug
>  Environment: Win2k, Java 1.4.2, andromda snapshot of 3rd of october
>     Reporter: Stefan Siegl
>     Assignee: Sascha-Matthias Kulawik
>  Attachments: SessionRemote.vsl-attributes-patch.diff
>
> I already put in the bug EJB-12. After changing the line as described at the 
> end of the bug report, the fields are created correctly, but another problem 
> arises.
> I am refering to the same example as in bug report EJB-12:
> I used a simple SessionBean, called "MyService", added the stereotype 
> "Service" and added a field called "name" of the type "String" (just in case 
> my little image is not readable).
> The bean implemenatation class "MyServiceBean" adds a private accessor and 
> mutator method for the created field "name". The problem is, that the bean 
> interface "MyService" defines these methods as public methods (business 
> methods) and the EJB specification states, that the bean implementation class 
> must provide an implementation of these methods in the same way as defines in 
> the business interface. Therefore a deploy to an application server will 
> result in an error.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.andromda.org/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Andromda-devel mailing list
Andromda-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to