Re: Data Module

2013-07-12 Thread hantsy
Your requirement is based on your experience, i do not think a must in REST application. Some case we can wrap the result in query result like this. select new UserResult(name, email ) from User u to get a ValueObject directly. Hantsy On 7/12/2013 14:12, Romain Manni-Bucau wrote: > Hi > > De

Re: Data Module

2013-07-12 Thread John D. Ament
Yep, if you want to do it in the JPA layer you can do something like that. In my case, my front end data objects aren't exposed to our JPA libraries, so it's not an option. @Romain How do you make a CDI object a remote EJB? Or are you referring to transactional state? As far as I know, you canno

Re: Data Module

2013-07-12 Thread Romain Manni-Bucau
@John: oops, was a type, "can" was "cannot", i meant adding @stateless will do nothing. about dto or not both are needed, i dont propose to force it, i just mention it is common to need it. the proposed API sounds fine for me. I don't want this thread to be a troll, dto usage depends on the arch

Re: Data Module

2013-07-12 Thread Jason Porter
On Fri, Jul 12, 2013 at 12:13 AM, Romain Manni-Bucau wrote: > Ps: you can make a cdi bean an ejb from cdi extension > No, the bootstrapping for each container do not communicate to my knowledge. > Le 12 juil. 2013 08:12, "Romain Manni-Bucau" a > écrit : > > > Hi > > > > Depending the case DTO

[jira] [Closed] (DELTASPIKE-368) Move KEYS and deltaspike files to root directory

2013-07-12 Thread Gerhard Petracek (JIRA)
[ https://issues.apache.org/jira/browse/DELTASPIKE-368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gerhard Petracek closed DELTASPIKE-368. --- Resolution: Won't Fix > Move KEYS and deltaspike files to root directory > --

[jira] [Updated] (DELTASPIKE-350) re-visit @Matches

2013-07-12 Thread Gerhard Petracek (JIRA)
[ https://issues.apache.org/jira/browse/DELTASPIKE-350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gerhard Petracek updated DELTASPIKE-350: Fix Version/s: (was: 0.5) 1.0.1 > re-visit @Matches

[jira] [Updated] (DELTASPIKE-287) re-visit @InvocationOrder

2013-07-12 Thread Gerhard Petracek (JIRA)
[ https://issues.apache.org/jira/browse/DELTASPIKE-287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gerhard Petracek updated DELTASPIKE-287: Affects Version/s: (was: 0.4) Fix Version/s: 1.0.1 > re-visit @

OSGi support

2013-07-12 Thread John D. Ament
Hi all I was curious about our OSGi support. From what I've seen, it looks like we mostly handle import and export packages, as well as some pax stuff. Has anyone tried packaging this into their apps?