Skip to main content

GF 4 and Java EE 7 implementation (general roadmap)

2 replies [Last post]
agoncal
Offline
Joined: 2005-04-10

Hi all,

In Java EE 7 (early draft) it's mentioned that we can have access to a
Default Data Source (spec EE.5.20) and a Default JMS Connection Factory
(spec EE.5.21). So the following should work in GF 4.x but it doesn't :

@Stateless
public class ItemEJB {

@Resource(lookup="*java:comp/DefaultDataSource*")
DataSource myDS;
...
}

As a general question I would like to know how I could follow the roadmap
of GF 4 implementing Java EE 7. Is there a specific JIRA for EE 7 stuff ?
Can I create JIRAs if I need any EE 7 feature (such as the default DS for
example) ? Can I be a EE 7 beta tester ;o)

Antonio

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
nigeldeakin
Offline
Joined: 2007-10-12

Antonio,

On 05/11/2012 12:37, Antonio Goncalves wrote:
> Hi all,
>
> In Java EE 7 (early draft) it's mentioned that we can have access to a Default Data Source (spec EE.5.20) and a
> Default JMS Connection Factory (spec EE.5.21). So the following should work in GF 4.x but it doesn't :
>
> @Stateless
> public class ItemEJB {
>
> @Resource(lookup="*java:comp/DefaultDataSource*")
> DataSource myDS;
> ...
> }
>

Implementing the default data source is this issue
http://java.net/jira/browse/GLASSFISH-19187
which I see is still open

The default JMS connection factory is this issue
http://java.net/jira/browse/GLASSFISH-18899
and has been implemented (and is available in any recent build)

I'll leave others to answer your more general questions.

Nigel

> As a general question I would like to know how I could follow the roadmap of GF 4 implementing Java EE 7. Is there a
> specific JIRA for EE 7 stuff ? Can I create JIRAs if I need any EE 7 feature (such as the default DS for example) ?
> Can I be a EE 7 beta tester ;o)
>
> Antonio

agoncal
Offline
Joined: 2005-04-10

Thanks, I know now where I can find this kind of issues (I've voted for
them). Wonder if I can create issues but.

Antonio

2012/11/6 Nigel Deakin

> Antonio,
>
>
> On 05/11/2012 12:37, Antonio Goncalves wrote:
>
> Hi all,
>
> In Java EE 7 (early draft) it's mentioned that we can have access to a
> Default Data Source (spec EE.5.20) and a Default JMS Connection Factory
> (spec EE.5.21). So the following should work in GF 4.x but it doesn't :
>
> @Stateless
> public class ItemEJB {
>
> @Resource(lookup="*java:comp/DefaultDataSource*")
> DataSource myDS;
> ...
> }
>
>
> Implementing the default data source is this issue
> http://java.net/jira/browse/GLASSFISH-19187
> which I see is still open
>
> The default JMS connection factory is this issue
> http://java.net/jira/browse/GLASSFISH-18899
> and has been implemented (and is available in any recent build)
>
> I'll leave others to answer your more general questions.
>
> Nigel
>
>
> As a general question I would like to know how I could follow the
> roadmap of GF 4 implementing Java EE 7. Is there a specific JIRA for EE 7
> stuff ? Can I create JIRAs if I need any EE 7 feature (such as the default
> DS for example) ? Can I be a EE 7 beta tester ;o)
>
> Antonio
>
>

--
Antonio Goncalves
Software architect and Java Champion

Web site |
Twitter
| LinkedIn | Paris
JUG
| Devoxx France