File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes WSAD access beans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "WSAD access beans" Watch "WSAD access beans" New topic
Author

WSAD access beans

neva elsaeed
Greenhorn

Joined: Aug 16, 2004
Posts: 13
Hello All,

In my project, I have entity beans that have relatioships between them. These beans are accessed locally so I only generate local interfaces for them. The problem arised when I wanted to generate access beans for these entity beans keeping in mind that I want the relationship to be reflected in the access bean.
If I create an access bean (JavaBean wrapper or copy helper) for
an enterprise bean involved in a relationship that has been made navigable, the navigation method of the access bean returns an access bean corresponding to the enterprise bean at the other side of the relationship.
This exactly what I want only I have 1 problem, wrapper and copy helper access beans are only created for entity beans with remote interfaces!!

Does that mean that in order to get access beans reflecting the relatioships, I must create remote interfaces??
If not, how do I get around it??
Michael Dirks
Greenhorn

Joined: May 22, 2006
Posts: 4
Using the access beans in WSAD can only be done on beans with remote access. You can, however manually create an access bean for local interfaces and use it as a wrapper to your interface. If you are interested in what the code looks like.... email me.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WSAD access beans
 
Similar Threads
My SCEA Part 1Study Notes
long post IBM.158
elaborate the reason for Local interface with EJB 2.0 CMR
Test 488 questions
Can session beans interact??