August 3, 2011  
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31

[00:00:43] <aslak> mhuniewicz, yea, is the ejb in question in WEB-INF/classes or WEB-INF/lib  ?
[00:01:10] <mhuniewicz> aslak, classes.
[00:02:31] <aslak> mhuniewicz, hmm
[00:03:13] <mhuniewicz> ALR, aslak, I replaced @Ejb with @Inject
[00:03:29] <mhuniewicz> and the stack trace is shorter. :)
[00:03:33] <ALR> Hahahahaha
[00:03:42] <ALR> I'm not sure the right way
[00:03:48] <ALR> One of these days I need to build a real CDI app
[00:04:23] <mhuniewicz> But it's BS I think... WELD-001408 Unsatisfied dependencies for type [DefaultObjectTrackDataHandler] with qualifiers [@Default] at injection point [[field] @Inject private
[00:04:50] <mhuniewicz> I guess it must be @Ejb
[00:04:51] <mhuniewicz> :EJB
[00:04:53] <mhuniewicz> @EJB
[00:05:00] <aslak> mhuniewicz, what is DefaultObjectTrackDataHandler ?
[00:05:26] <mhuniewicz> aslak, former @RequestScoped, now @Stateful bean.
[00:08:48] <aslak> mhuniewicz, no interfaces ?
[00:09:07] <mhuniewicz> aslak, it does have 1 interface. @Local(ObjectTrackDataHandler.class)
[00:09:23] <mhuniewicz> @Local, eh? Maybe it mustn't be local?
[00:10:00] <aslak> mhuniewicz, are you using @Inject ObjectTrackDataHandler ?
[00:10:15] <mhuniewicz> I was using @EJB ObjectTrackDataHandler.
[00:10:25] <mhuniewicz> Now I replaced it with @Inject and let's see what happens...
[00:10:52] <mhuniewicz> KABOOM
[00:11:03] <mhuniewicz> aslak, different error, something more app specific. :)
[00:11:10] <mhuniewicz> It cannot find the bundle!
[00:12:04] <aslak> bundle ?
[00:13:14] <mhuniewicz> Yes, my app thing.
[00:13:17] <mhuniewicz> I will give it the bundle.
[00:15:08] <mhuniewicz> It's just a NPE from ShrinkWrap.
[00:16:43] <mhuniewicz> ALR, NPE at org.jboss.shrinkwrap.impl.base.container.ContainerBase.fileFromResource(ContainerBase.java:1509)
[00:16:47] <mhuniewicz> Is that the old thing?
[00:21:31] <mhuniewicz> aslak, can I use addAsResource to add a file from a different Maven module?
[00:24:58] <aslak> mhuniewicz, if you have the File ref sure
[00:26:16] <aslak> bed time here.. night
[00:26:26] *** aslak has quit IRC
[00:26:27] <mhuniewicz> night, thanks for help, again!
[00:39:09] *** oskutka has quit IRC
[00:41:23] <mhuniewicz> Good night, thanks ALR.
[00:41:24] *** mhuniewicz has quit IRC
[00:57:33] <ALR> Anyone know what that NPE was?
[00:57:45] <ALR> There should be zero, count 'em zero NPEs possible from SW
[00:57:51] <ALR> :)
[01:14:10] *** lightguard_jp has quit IRC
[01:25:36] *** ALR has quit IRC
[01:32:19] *** lightguard_jp has joined #jbosstesting
[01:46:04] *** lightguard_jp has quit IRC
[01:47:22] *** lightguard_jp has joined #jbosstesting
[01:59:46] *** ldimaggi has joined #jbosstesting
[02:00:56] *** ianbrandt has quit IRC
[02:22:47] *** johnament has joined #jbosstesting
[03:01:28] *** lightguard_jp has quit IRC
[03:02:07] *** lightguard_jp has joined #jbosstesting
[03:03:00] *** johnament has quit IRC
[03:03:20] *** rruss has quit IRC
[03:11:40] *** rruss has joined #jbosstesting
[03:15:21] *** rruss has quit IRC
[03:47:41] *** johnament has joined #jbosstesting
[04:03:11] *** johnament has quit IRC
[04:30:50] *** OndraZizka has quit IRC
[04:31:06] *** OndraZizka has joined #jbosstesting
[04:51:49] *** bgeorges has joined #jbosstesting
[05:32:18] *** ALR has joined #jbosstesting
[05:32:25] *** ALR has quit IRC
[05:32:25] *** ALR has joined #jbosstesting
[05:44:35] *** ldimaggi has quit IRC
[06:03:30] *** bleathem has joined #jbosstesting
[07:39:56] *** ALR has quit IRC
[07:48:17] *** galderz has joined #jbosstesting
[07:48:23] *** vnvarsete has joined #jbosstesting
[08:01:27] *** aslak has joined #jbosstesting
[08:01:28] *** aslak has quit IRC
[08:01:28] *** aslak has joined #jbosstesting
[08:12:40] *** Jaikiran has joined #jbosstesting
[08:22:14] *** mgoldmann has joined #jbosstesting
[08:38:04] *** ge0ffrey has joined #jbosstesting
[08:46:44] *** bleathem has quit IRC
[08:47:40] *** maschmid has joined #jbosstesting
[08:53:14] *** bgeorges has quit IRC
[09:03:11] *** kevinpollet has joined #jbosstesting
[09:15:27] *** tdiesler has joined #jbosstesting
[09:23:38] *** rruss has joined #jbosstesting
[09:24:24] *** lightguard_jp has quit IRC
[09:28:28] *** rruss has quit IRC
[09:33:34] *** jhuska has joined #jbosstesting
[09:36:38] *** pilhuhn has joined #jbosstesting
[09:36:38] *** pilhuhn has joined #jbosstesting
[09:57:16] *** kpiwko has joined #jbosstesting
[10:11:57] *** galderz has quit IRC
[10:13:14] *** oskutka has joined #jbosstesting
[10:22:05] *** aslak has quit IRC
[10:22:38] *** aslak has joined #jbosstesting
[10:28:24] *** lfryc has joined #jbosstesting
[10:28:24] *** aslak has quit IRC
[10:28:58] *** aslak has joined #jbosstesting
[10:30:16] *** Jaikiran is now known as Jaikiran|AFK
[10:40:28] *** galderz has joined #jbosstesting
[10:45:23] *** galderz has quit IRC
[10:48:32] *** alesj has joined #jbosstesting
[10:53:26] *** jeand has joined #jbosstesting
[10:54:09] *** alesj has quit IRC
[10:54:12] *** alesj1 has joined #jbosstesting
[10:54:22] *** galderz has joined #jbosstesting
[10:54:38] *** alesj1 is now known as alesj
[10:57:00] *** galderz has quit IRC
[11:00:29] *** galderz has joined #jbosstesting
[11:30:39] *** torben has joined #jbosstesting
[12:09:52] *** stuartdouglas has quit IRC
[12:14:44] *** kevinpollet has quit IRC
[12:23:49] *** stuartdouglas has joined #jbosstesting
[12:50:37] *** galderz has quit IRC
[12:51:20] *** galderz has joined #jbosstesting
[13:07:00] *** kpiwko has quit IRC
[13:22:10] *** tommysdk has joined #jbosstesting
[13:23:49] <tommysdk> hi all
[13:24:52] *** jose_freitas has joined #jbosstesting
[13:25:18] <tommysdk> I'm currently unable to build the impl module of the latest ShrinkWrap Descriptors project. Does anyone know if there is a known problem here?
[13:26:10] <aslak> tommysdk, what's the issue ?
[13:27:22] *** vnvarsete has quit IRC
[13:28:50] <tommysdk> aslak: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.4.3:test (default-test) on project shrinkwrap-descriptors-impl: There are test failures.
[13:29:29] <tommysdk> although I don't seem to have a surefire-reports directory in my impl\target directory
[13:30:08] <tommysdk> Builds fine when skipping the tests though with -Dmaven.test.skip=true
[13:31:28] <aslak> tommysdk, do you have JAVA5_HOME defined ?
[13:31:59] <tommysdk> aslak: yes
[13:34:30] <tommysdk> aslak: Thanks for the tip though, seems to be something with my Java 5 env
[13:35:56] *** galderz has quit IRC
[13:37:42] *** vnvarsete has joined #jbosstesting
[13:38:52] <aslak> stuartdouglas, ARQ-538 ?
[13:38:53] <jbossbot> jira [ARQ-538] beans.xml hides JNDI name "java:jboss/UserTransaction" [Open (Unresolved) Bug, Major, Unassigned] https://issues.jboss.org/browse/ARQ-538
[13:39:26] <tommysdk> aslak: Thanks for pointing me in the right direction, the path had somehow been corrupted and not pointing to the proper java 5 directory
[13:39:34] <tommysdk> working fine now
[13:39:37] <aslak> :)
[13:40:23] <stuartdouglas> aslak: not sure
[13:41:41] 
[13:45:13] <stuartdouglas> if aslak I will look into it tomorrow
[13:45:59] <aslak> seems to be the same Weld is doing, but maybe it has a different view based on it being executed 'outside /inside' the arq service or similar
[14:02:18] *** kevinpollet has joined #jbosstesting
[14:04:41] <jose_freitas> aslak: g'morning
[14:06:21] <jose_freitas> do you know if there's a method like MavenDependencyResolver.includeDependenciesFromPom that gets the file from the classpath and not from project structure?
[14:14:20] *** torben has quit IRC
[14:33:33] *** torben has joined #jbosstesting
[14:33:34] *** torben has joined #jbosstesting
[14:42:37] <aslak> jose_freitas, not yet, there is a open issue on it
[14:45:14] *** Jaikiran|AFK is now known as Jaikiran
[14:48:17] <jose_freitas> is it on your priority list? cause if it's not I can take a look since it's very important feature for me.
[14:48:49] <aslak> jose_freitas, it's Karel that does that stuff, but i'm sure you can have a go at it.. let me find the issue
[14:49:29] <aslak> jose_freitas, SHRINKWRAP-288
[14:49:30] <jbossbot> jira [SHRINKWRAP-288] MavenDependencyResolver.load*From* and configureFrom should accept a URL and support the classpath protocol [Open (Unresolved) Feature Request, Major, Unassigned] https://issues.jboss.org/browse/SHRINKWRAP-288
[14:50:26] *** galderz has joined #jbosstesting
[14:52:16] <jose_freitas> ok, Karel enters here sometimes?
[14:52:43] <jose_freitas> I mean, does Karen join the channel sometimes?
[14:55:04] *** ldimaggi has joined #jbosstesting
[14:55:42] *** ldimaggi has quit IRC
[14:55:47] *** ldimaggi has joined #jbosstesting
[14:59:55] <aslak> jose_freitas, yea, kpiwko
[15:00:12] <aslak> jose_freitas, he's normally here allday
[15:01:46] <jose_freitas> ahnn
[15:02:24] <jose_freitas> :)
[15:02:24] <jose_freitas> ok I'll try to catch him
[15:02:24] <jose_freitas> thanks
[15:03:04] <jose_freitas> If I fix this, I'll use for jsfunit-arquillian extension
[15:03:39] <jose_freitas> I keep finding resource files that I didn't add
[15:08:12] <aslak> jose_freitas, yea, you mean adding complete jars pulled form maven instead ?
[15:08:17] <aslak> from
[15:09:08] <jose_freitas> yes
[15:09:19] <jose_freitas> that would avoid some potentially mistakes
[15:09:39] <aslak> yea.. i'm sure it will add a few new ones as well.. ;)
[15:09:40] <jose_freitas> yet the archiveappended will be gigantic
[15:10:02] <jose_freitas> it has already like 4megas
[15:10:34] <aslak> auch..
[15:10:48] <jose_freitas> yeah..
[15:10:52] <jose_freitas> without using pom
[15:11:28] <aslak> jsfunit in it self is quite small.. it doesn't do that much..  htmlunit + friends that cause the 'bloat' right
[15:11:29] <jose_freitas> 3.5 megas actually
[15:11:54] <jose_freitas> yes
[15:12:29] <jose_freitas> fatty friends
[15:12:33] <aslak> :)
[15:13:36] *** vnvarsete has quit IRC
[15:14:03] *** nilian has joined #jbosstesting
[15:48:23] *** oskutka has quit IRC
[15:49:27] *** rruss has joined #jbosstesting
[15:53:23] *** bgeorges has joined #jbosstesting
[15:53:35] *** rruss has quit IRC
[15:53:52] *** rruss has joined #jbosstesting
[16:02:18] *** Jaikiran has quit IRC
[16:37:38] <jose_freitas> aslak: I suspect that there's a leak on something on arquillian test process, hard to say where
[16:38:13] <jose_freitas> but always after some testing I cannot deploy anymore due permgen outofmemory
[16:38:33] <jose_freitas> so I have to stop jboss and start it again
[16:38:39] <aslak> 6 ?
[16:38:41] <jose_freitas> yes
[16:38:50] <aslak> it leaks in general i believe
[16:39:46] <jose_freitas> I see, so it might be a problem on deploy/undeploy process in jb6
[16:41:04] <aslak> yea, or class loaders or what not
[16:41:10] <aslak> 5 has the same issue
[16:41:32] <aslak> most app servers suffer similar issues, just a matter of time
[16:42:01] <jose_freitas> hmm
[16:42:03] *** tommysdk has quit IRC
[16:42:29] <aslak> 7 seems pretty stable so far. had 5000+ deployments without issues against the same running instance
[16:44:21] <jose_freitas> woot
[16:44:23] <jose_freitas> nice!
[16:44:43] *** pilhuhn is now known as pil-bbl
[17:00:16] *** bleathem has joined #jbosstesting
[17:04:14] *** nilian has quit IRC
[17:15:25] *** alesj has quit IRC
[17:43:34] *** oskutka has joined #jbosstesting
[17:50:00] *** newtonm has joined #jbosstesting
[17:52:57] *** kevinpollet has quit IRC
[18:05:24] *** lfryc has quit IRC
[18:06:00] *** torben has quit IRC
[18:18:10] *** bleathem is now known as bleathem_busy
[18:21:53] *** tdiesler has quit IRC
[18:22:37] *** maschmid has quit IRC
[18:35:14] *** kevinpollet has joined #jbosstesting
[18:39:06] *** ldimaggi has quit IRC
[18:57:42] *** rbattenfeld has joined #jbosstesting
[19:01:38] *** ianbrandt has joined #jbosstesting
[19:04:22] *** galderz has quit IRC
[19:06:18] *** galderz has joined #jbosstesting
[19:06:38] *** ge0ffrey has quit IRC
[19:07:02] *** galderz has quit IRC
[19:09:43] *** galderz has joined #jbosstesting
[19:12:35] <jhuska> aslak, ping
[19:12:53] <aslak> jhuska, pong
[19:15:17] <jhuska> aslak, Hi, I am trying to develop arquillian-tomcat-managed-6 plugin, but it seems too dificult for me, I would like to ask you whether you do not have some ideas how to do it, since you have developed embedded ?
[19:16:16] *** newtonm has left #jbosstesting
[19:16:17] <aslak> jhuska, do you know if tomcat has some form of managed api ?
[19:16:49] <jhuska> aslak, as far as I know it does not have
[19:16:57] <aslak> jhuska, if not, it's basically just to fork a process
[19:17:25] <aslak> see as7's managed v; https://github.com/aslakknutsen/jboss-as/blob/AS7_ARQ_CLEANUP/arquillian/container-managed/src/main/java/org/jboss/as/arquillian/container/managed/ManagedDeployableContainer.java#L77
[19:18:44] <jhuska> aslak, probably what I was looking for, thanks
[19:19:28] <aslak> jhuska, then for deployment, look at the remote to see how it does it
[19:19:49] <jhuska> aslak, yes, I was disscusing this with Ondra
[19:29:59] *** bgeorges has quit IRC
[19:33:38] *** galderz has quit IRC
[19:47:43] *** jhuska has quit IRC
[19:51:27] *** oskutka has quit IRC
[20:04:41] *** kevinpollet has quit IRC
[20:15:55] *** rbattenfeld has quit IRC
[20:16:22] *** rbattenfeld has joined #jbosstesting
[20:46:56] <aslak> nickarls, ping
[20:46:56] *** kevinpollet has joined #jbosstesting
[20:56:28] *** bleathem_busy is now known as bleathem
[21:05:30] *** nilian has joined #jbosstesting
[21:10:52] *** pil-bbl is now known as pilhuhn
[21:12:19] *** nilian has quit IRC
[21:12:27] *** nilian has joined #jbosstesting
[21:15:22] *** stuartdouglas has quit IRC
[21:18:03] *** jeand has quit IRC
[21:27:09] *** ALR has joined #jbosstesting
[21:32:24] *** stuartdouglas has joined #jbosstesting
[21:33:18] *** jeand has joined #jbosstesting
[21:44:35] *** nilian has quit IRC
[21:48:39] *** alesj has joined #jbosstesting
[22:09:36] *** stuartdouglas has quit IRC
[22:12:27] <nickarls> aslak: pong
[22:16:58] *** stuartdouglas has joined #jbosstesting
[22:17:37] *** lightguard_jp has joined #jbosstesting
[22:22:43] *** mhuniewicz has joined #jbosstesting
[22:24:07] <mhuniewicz> aslak, hi
[22:36:16] <mhuniewicz> ALR, can I unit test EJB 3.1 with Arquillian so that it injects EJBs?
[22:36:26] <ALR> mhuniewicz: Before we get into that:
[22:36:35] <ALR> mhuniewicz: Your issue with downloading from the Maven repo:
[22:36:43] <ALR> You got the wrong repo configured
[22:36:57] <ALR> repository.jboss.org/maven2 < Deprecated, and they turned off remote access
[22:37:05] <ALR> Only reason I could get to it was because I was behind the VPN
[22:37:30] <ALR> So update your settings to point to the new repo.
[22:37:42] <mhuniewicz> ALR, fair enough, what is the new one?
[22:38:21] <ALR> http://community.jboss.org/wiki/MavenGettingStarted-Users
[22:38:41] <ALR> mhuniewicz: So yes, you can test EJBs in Arquillian
[22:38:54] <ALR> For AS7 I typically do:
[22:39:14] <ALR> @EJB(mappedName="GlobalJNDIBindname") private MyEjb bean;
[22:39:19] <ALR>  ...in my test case
[22:39:32] <mhuniewicz> ALR, I didn't explicitly configure a repo. It's what Maven uses.
[22:40:19] <ALR> mhuniewicz: https://github.com/ALRubinger/jboss-as-test-example/blob/master/src/test/java/org/jboss/as/test/example/CdiServletIntegrationTestCase.java#L56
[22:40:34] <ALR> mhuniewicz: Then maybe you were using a project which had pointers to the old repo.
[22:41:42] <mhuniewicz> ALR, but do you then run then as unit tests or in a container?
[22:42:35] <ALR> mhuniewicz: Define "unit test"
[22:42:45] <ALR> Because Arquillian is for integration testing w/ a container.
[22:42:57] <ALR> So the second you have an ARQ-based test, IMO you're not in a unit test.
[22:43:42] <mhuniewicz> ALR, I changed @RequestScoped and @ApplicationScoped to EJB 3.1, i.e. @Stateful and @Stateless.
[22:43:50] <mhuniewicz> I had a test defined for that class and now it fails.
[22:44:03] <mhuniewicz> It's an Arquillian powered test,
[22:44:11] <mhuniewicz> but it doesn't use JBoss.
[22:44:18] <mhuniewicz> That's what I want for the EJBs as well.
[22:48:23] *** pilhuhn has quit IRC
[22:49:15] <ALR> I'm not getting any information from that, mhuniewicz :)
[22:49:49] <mhuniewicz> ALR, can I run EJB tests without using a managed JBoss 7?
[22:50:42] <ALR> You don't need AS7 specifically, but you do need a backing EJB container
[22:50:53] <ALR> ie. OpenEJB or GlassFish
[22:51:07] <mhuniewicz> How about arquillian-weld-ee-embedded-1.1?
[22:51:22] *** mgoldmann has quit IRC
[22:51:48] <ALR> Weld is a CDI container
[22:52:07] <ALR> Excuse me, a framework which implements CDI
[22:52:16] <ALR> So no.
[22:52:50] <mhuniewicz> I see. The example you gave me - does it use OpenEJB/
[22:53:53] <ALR> AS7
[22:54:41] <mhuniewicz> ALR, I was hoping I'd just replace the weld dependency with something else and it'd work.
[22:55:03] <ALR> Why not replace it w/ AS7?
[22:55:16] <mhuniewicz> It's heavy, isn't it?
[22:55:22] <ALR> Define heavy.
[22:55:36] <ALR> Boots in under 3s?
[22:55:51] <ALR> mhuniewicz: Pull down that example from GitHub, run it, and see for yourself.
[22:55:52] <ALR> :)
[22:56:23] <mhuniewicz> Let me think...
[22:57:03] <mhuniewicz> What does it look like with OpenEJB?
[22:59:05] *** jose_freitas has quit IRC
[22:59:27] <ALR> What does what look like w/ OpenEJB?
[22:59:50] <mhuniewicz> Testing. Is it more light weight? More like arquillian weld ee container?
[23:00:07] <ALR> What's wrong w/ AS7 exactly?
[23:00:25] <ALR> Before you deem it to be too heavy, at least try it.
[23:00:27] <mhuniewicz> I see there's no running away from this. :P
[23:00:41] <ALR> http://www.jboss.org/as7.html
[23:00:45] *** oskutka has joined #jbosstesting
[23:00:47] <ALR> It's (*&%$(*&^$ awesome.
[23:00:47] <mhuniewicz> I will! I just wanted to have heavy duty tests on JBoss 7
[23:00:57] <mhuniewicz> and more light weight tests that don'
[23:01:01] <mhuniewicz> t require an AS.
[23:01:05] <mhuniewicz> At all/.
[23:01:11] <ALR> Great in theory, and in the past.
[23:01:15] <ALR> But we made AS7 blazing.
[23:01:31] <mhuniewicz> In the past?
[23:01:39] <ALR> AS6 prior.
[23:02:36] * ALR has about 5 minutes left before he's gotta head out
[23:02:38] <mhuniewicz> Is it going to start a new instance per test case?
[23:02:42] <ALR> Cooking class w/ our JCA lead
[23:02:56] <ALR> mhuniewicz: Instance of the server?
[23:03:00] <mhuniewicz> Yes
[23:03:06] <ALR> No, the server will be started once per suite
[23:03:27] <ALR> Or if you use the remote connector, it won't be started at all.
[23:03:37] <ALR> You'll start it, and it'll handle just deployment and test execution.
[23:03:38] <mhuniewicz> ALR, it's just that I've written everything in CDI and now I gotta convert it to EJB...
[23:04:00] <ALR> Well, then I suggest you use a container that supports both CDI, and EJB :P
[23:04:14] <mhuniewicz> ALR, I used to have CDI beans that had constructor injected deps from CDI.
[23:04:27] <mhuniewicz> Can I replace that with constructor injected EJBs?
[23:04:38] <ALR> EJBs don't do ctor injection
[23:04:52] <mhuniewicz> Eh?
[23:05:18] <ALR> There are no constructor-injected EJBs.
[23:05:18] <ALR> No.
[23:05:26] <mhuniewicz> Why not?
[23:05:48] <ALR> mhuniewicz: Because in the 700+ pages of the EJB 3.1 spec, ctor injection is not in there.
[23:06:02] <ALR> Though I know I like it.  dblevins does too.
[23:06:12] <mhuniewicz> That blows. =/
[23:06:13] <ALR> Whaddya say, EJB 3.2, dblevins?
[23:06:16] *** aslak has quit IRC
[23:06:16] <ALR> :)
[23:06:42] <mhuniewicz> Should I use setters then?
[23:06:47] <mhuniewicz> Or are private fields enough?
[23:06:52] <ALR> mhuniewicz: Private fields.
[23:07:07] <mhuniewicz> @EJB or @Inject?
[23:07:14] <ALR> ctor injection IMO is important mostly so that you can mark your private fields final.
[23:07:20] <ALR> mhuniewicz: @EJB
[23:07:26] <ALR> If you're injecting another EJB
[23:07:47] <ALR> Else @Resource if you're injecting a resource.  I know of some good books on the subject :)
[23:07:48] <mhuniewicz> ALR, I might very well be wrong, but what I see about CDI is that this is a client related technology
[23:07:59] <mhuniewicz> rather than something to implement business logic requirements with.
[23:08:16] <ALR> Yeah, I'd say that's universally wrong.
[23:08:23] <ALR> CDI is a component model for business logic
[23:08:37] <ALR> It defines a typesafe injection paradigm
[23:08:46] <ALR> Which is designed to easily integrate w/ view layers as well.
[23:08:54] <mhuniewicz> I'll agree with you once they combine CDI with EJB
[23:09:02] <mhuniewicz> and I can say @Transactional anywhere I want.
[23:09:23] <ALR> @Transactional has nothing to do with "business logic"
[23:09:31] <ALR> What you want is more enterprise services
[23:09:38] <ALR> Cross-cutting concerns
[23:09:43] <ALR> Business logic is a core concern.
[23:09:56] <ALR> And CDI is meant to easily let developers write core concerns.
[23:10:14] <ALR> The shortcoming you address is out-of-the-box services.  Which is a strong point of EJB.
[23:10:31] <mhuniewicz> Don't you think the two should be combined into one powerful thing?
[23:10:31] <ALR> And the argument against EJB is that the programming model isn't as flexible as CDI's.
[23:10:38] <ALR> Of course I do.
[23:10:52] <ALR> I think it should be the programming model of CDI and the enterprise services defined by EJB
[23:10:58] <mhuniewicz> That's what I'm saying.
[23:11:02] <ALR> But specs take time to evolve.
[23:11:32] <ALR> Also you're talking about CDI 1.0.  The first time it was introduced into the platform.
[23:11:51] * ALR has to run.
[23:11:56] <mhuniewicz> OK thanks mate.
[23:11:58] <ALR> Sure.
[23:12:01] <ALR> Use AS7.
[23:12:05] <ALR> I think you'll like it.
[23:12:12] <mhuniewicz> I'm already using it.
[23:12:14] <mhuniewicz> :)
[23:12:18] <ALR> Good.  late.
[23:12:28] <mhuniewicz> cheers
[23:17:32] *** rruss has quit IRC
[23:19:57] *** rbattenfeld has left #jbosstesting
[23:20:04] *** mhuniewicz has quit IRC

top