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 57003 - advice user how to add ejb jar to classpath
Summary: advice user how to add ejb jar to classpath
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Freeform (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks: 89477
  Show dependency tree
 
Reported: 2005-03-25 14:47 UTC by Pavel Buzek
Modified: 2011-11-28 08:32 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Buzek 2005-03-25 14:47:57 UTC
Currently Call EJB and similar do not work in web freeform. The IDE does not
know how to add ejb jar file to classpath. It should add the references to
web.xml and the java code, maybe add it to module classpath, and advice the user
what to add to the build script.
Comment 1 Martin Adamek 2005-03-25 17:20:12 UTC
More precise: now EJB freeform can call only own EJBs and web freeform none.
Freeform must implement its own EnterpriseReferenceContainer (now the one from
ejbjarproject is in EJB FF lookup) to solve this problem.
There is also problem of AntArtifacts for EJB freeform:
AntArtifactQuery.findArtifactsByType(p,
EjbProjectConstants.ARTIFACT_TYPE_EJBJAR) returns empty array. How can be this
artifact defined for EJB freeform?
I think it's P2 enhancement, I am increasing priority. Reevaluate if you think
it's not so important.
After all of this is implemented, hacking implementation of CallEjbDialog.open()
must can be cleaned-up.
Comment 2 Jaroslav Pospisil 2006-03-13 13:43:50 UTC
TM 5.0->TBD