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 84646 - Incompatible API change in EjbJarImlementation
Summary: Incompatible API change in EjbJarImlementation
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@javaee
URL:
Keywords: ARCH
: 88370 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-09-11 20:43 UTC by Martin Adamek
Modified: 2009-05-25 20:58 UTC (History)
4 users (show)

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 Martin Adamek 2006-09-11 20:43:48 UTC
While trying to fix issue 82450 there was incompatible change introduced. There
is also inconsistency between EJB, Web and AppClient APIs on this level. It
should be done in all projects in the same way and also synchronized in mevenide
project types.
Comment 1 Martin Adamek 2006-09-25 16:40:32 UTC
This is not going to be fixed in 5.5. Not really big issue, decreasing to P3.
Comment 2 Milos Kleint 2006-09-25 16:58:21 UTC
not sure I understand the current state of fix for #82450. 
are you saying that the api is changed incopatibly and you are not planning to
address that in 5.5 timeframe?

Comment 3 Milos Kleint 2006-10-12 12:17:08 UTC
yet another incompatible change, this time in web apis
http://jira.codehaus.org/browse/MEVENIDE-458. Anyone attempting to write a web
framework provider can get hurt here.
Comment 4 Martin Adamek 2007-01-08 07:22:06 UTC
*** Issue 88370 has been marked as a duplicate of this issue. ***
Comment 5 martin_adamek 2007-09-12 13:08:49 UTC
Andrei removed EjbJar.getMetadataUnit already, but I am not sure about WebModule.getJavaSources(). Andrei can you comment please (you are working on 
some cleanup?).
Comment 6 Andrei Badea 2007-09-12 13:49:21 UTC
Nobody seems to need WebModule.getJavaSources(), and I would very much like to remove that method. Returning
FileObject-s is probably not enough anyway, the method should return something like SourceGroup-s, but those are too
much tied to the projects API.

However, the reporter of MEVENIDE-458 seems to need it. So I'm not sure. Perhaps best would be to introduce a
createJavaSource() method in WebAppMetadata (which can be obtained from getMetadataModel), returning a JavaSource on
which the caller can call getClasspathInfo() to get a classpath to find resources on.

Opinions anyone?
Comment 7 pslechta 2008-08-15 09:55:30 UTC
Is this issue still active? Or can we close it?
Comment 8 _ jyothivasa 2008-11-21 19:11:14 UTC
Not planned for 7.0
Comment 9 Jayashri Visvanathan 2008-11-26 01:07:47 UTC
I am closing this issue as fixed, if there is still any unaddressed items, please reopen.
thanks