This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 77470 - merged dd provider doesn't handle @EJB for ejb-ref's when opening existing projects.
Summary: merged dd provider doesn't handle @EJB for ejb-ref's when opening existing pr...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Adamek
URL:
Keywords:
Depends on:
Blocks: 80015
  Show dependency tree
 
Reported: 2006-06-06 23:31 UTC by _ pcw
Modified: 2009-11-10 06:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ pcw 2006-06-06 23:31:47 UTC
1. Create EJBModule1 for JavaEE5, Glassfish as target server.
2. Add a stateless session bean (ServiceBean) with Remote interfaces.
3. Create EJBModule2 for JavaEE5, Glassfish as target server.
4. Add a stateless session bean (ClientBean).
5. In ClientBean source code, invoke "Call Enterprise Bean" and add call to the
remote interface of ServiceBean.
6. ** The annotation will correctly indicate the ejb-ref entry, which you can
verify by opening the config editor on sun-ejb-jar.xml and browsing to the
ejb-ref bean.
7. Restart IDE
8. As in #6, open sun-ejb-jar.xml in config editor and notice that the ejb-ref
entry is now gone.

This works in app client.  I can't tell if it works in web or not because it's
blocked by issue 74924.
Comment 1 _ pcw 2006-06-06 23:36:41 UTC
P3.
Comment 2 _ pcw 2006-06-06 23:45:33 UTC
One more note - in Step #8, wait until scan stops.  You can open the config
editor before hand, as the nodes will be dynamically updated, but events from
the merged dd provider aren't sent until the initial start scan is completed.
Comment 3 Martin Adamek 2006-07-11 14:16:42 UTC
Fixed already.