
|
If you were logged in you would be able to see more operations.
|
|
EJB Cartridge
Created: 06/Oct/04 09:49 AM
Updated: 27/Jul/05 11:32 AM
|
|
| Component/s: |
None
|
| Affects Version/s: |
None
|
| Fix Version/s: |
None
|
|
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 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.
Forgot to mention that the patch was built by using the 3.0 release of AndroMDA.
|
|