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 115275 - Not possible to find out whether server supports whole Java EE 5 specification
Summary: Not possible to find out whether server supports whole Java EE 5 specification
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-11 16:50 UTC by Erno Mononen
Modified: 2011-10-17 09:38 UTC (History)
0 users

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 Erno Mononen 2007-09-11 16:50:51 UTC
Currently there doesn't seem to be a way to find out whether a server supports the whole Java EE 5 specification. For 
example the Tomcat 6 platform claims to support Java EE 5, although it is only a web container and therefore supports 
only parts of it. This might actually be an issue in the tomcat plugin, maybe it shouldn't claim to support Java EE 5 
in the first place. 

This information is needed at least in the persistence unit wizard to determine whether a default persistence provider 
is supported.
Comment 1 Petr Hejl 2007-09-12 15:59:03 UTC
The workaround for 6.0 is made through introduction of "defaultPersistenceProviderJavaEE5" as tool name for
isToolSupported. Each server that provides persistence provider (Java EE 5 or greater) should return true for this tool
name.

In future there should be an api - something like hasCapability or similar. The EE spec version is not enough to
recognize the capabilities of server (I suppose this will be more significant for EE 6).
Comment 2 Petr Hejl 2011-10-17 09:38:16 UTC
Already resolved by javaee.specs.support.