Re: OpenEJB vs JBoss

2012-03-15 Thread Anthony Fryer
It would be nice to have a SecurityService that allowed you to use the Servlet api to enforce role based security and authorization when using openejb in *embedded* mode inside a servlet container. The HttpServletRequest api gives you isUserInRole() getRemoteUser() The ejb SessionContext

Re: OpenEJB vs JBoss

2012-03-15 Thread Mohammad Nour El-Din
Hi On Thu, Mar 15, 2012 at 10:18 PM, Anthony Fryer wrote: > i come from a weblogic background having used it for years. Now days i much > much prefer openejb/tomee. Other ejb containers are memory pigs by > comparison, have slow boot times and are impossible to embed and use for > unit testing.

RE: OpenEJB vs JBoss

2012-03-15 Thread Anthony Fryer
i come from a weblogic background having used it for years. Now days i much much prefer openejb/tomee. Other ejb containers are memory pigs by comparison, have slow boot times and are impossible to embed and use for unit testing. They do have more fully featured admin consoles and docUmentation tho

Re: Feedback on TomEE 1.0.0-beta-2

2012-03-15 Thread Jean-Louis MONTEIRO
David, just one note, i did some changes to disallow a complete webapp to be treated by OpenEJB. Dunno if that is still up in the TomcatWebAppBuilder, but in the mid time that could be helpful. It can be a servlet context attribute or init property. org.apache.openejb.tomcat.catalina.TomcatWebA

Re: Feedback on TomEE 1.0.0-beta-2

2012-03-15 Thread David Blevins
Thank you so much for the feedback, Lilly! It would be absolutely fantastic if you could post any errors from the logs or describe what didn't work with the deployment of both #1 and #2 apps. For #1, the Java EE TCK is good but you know how portability goes :) Tens of thousands of tests and st

Re: OpenEJB vs JBoss

2012-03-15 Thread David Blevins
Hi Matthew, Do you have that old blog post around somewhere or mind giving some details on the scale of the system you rolled out? -David On Mar 15, 2012, at 11:42 AM, Jean-Louis MONTEIRO wrote: > Some month ago, we also got a similar feedback from another user and > company. > Here is the ar

Re: OpenEJB vs JBoss

2012-03-15 Thread Jean-Louis MONTEIRO
Some month ago, we also got a similar feedback from another user and company. Here is the article refering the user blog. https://blogs.apache.org/openejb/entry/user_blog_openejb_rapid_j2ee Hope it helps on the discussion. Jean-Louis 2012/3/15 Neale Rudd > Hi Markus, > > Very impressed that yo

Re: Feedback on TomEE 1.0.0-beta-2

2012-03-15 Thread Jean-Louis MONTEIRO
Hum strange, the download links seem great now. Didn't do anything but ... Jean-Louis 2012/3/15 Jean-Louis MONTEIRO > Hi Adrien, > > First of, thanks a lot for the feedback. That is an important point to > make OpenEJB/TomEE progress in a good way. > > Just one note regarding the drop-in-war ap

Re: Feedback on TomEE 1.0.0-beta-2

2012-03-15 Thread Jean-Louis MONTEIRO
Hi Adrien, First of, thanks a lot for the feedback. That is an important point to make OpenEJB/TomEE progress in a good way. Just one note regarding the drop-in-war approach versus the TomEE full package: the drop-in-war should work in most cases, but we had to tweek tomcat and our integration to

Re: Feedback on TomEE 1.0.0-beta-2

2012-03-15 Thread Jean-Louis MONTEIRO
Hello, Both should definitely work. If not, let us know so we can fix. The best is a simple test case (webapp) we can drop in TomEE. Anyway, thanks for the feedback Jean-Louis 2012/3/15 Lilly Wang > Hello, > > I have been a Tomcat user for over 10 years. I like Tomcat, because it is > si

Feedback on TomEE 1.0.0-beta-2

2012-03-15 Thread Lilly Wang
Hello, I have been a Tomcat user for over 10 years. I like Tomcat, because it is simple and easy to use, and it always making my web app working. I like the idea of OpenEJB+Tomcat => Apache TomEE! I expect: 1) my EE app will work with TomEE as easy as with Tomcat, but it seems not. 2)

Re: Container-specific method to prevent classpath scanning for EE annotations

2012-03-15 Thread Romain Manni-Bucau
yep that's correct. in fact - doesn't mean anything. we simply take each line and use it as an excluded prefix. - Romain 2012/3/15 Neale Rudd > Thanks Romain, > > Having trouble building the snapshot due to a problem in a dependant > project, so we're trying conf/exclusions.list which does i

Re: Missing web.xml file causes UnknownModuleTypeException

2012-03-15 Thread Romain Manni-Bucau
hmm, try to compile the maven plugins before openejb: https://svn.apache.org/repos/asf/openejb/trunk/maven-plugins/ i'm not sure everything is up to adte in nexus - Romain 2012/3/15 Neale Rudd > Hi Romain, > > I followed your instructions for the build, thanks for that. > > However - I get p

Re: Using @Inject to inject one EJB into another sometimes causes exceptions when EJBContainer is closed

2012-03-15 Thread Romain Manni-Bucau
Hi, i fixed several issues regarding such thing on trunk, can you give it a try? (4.0.0-beta-3-SNAPHOT) - Romain 2012/3/15 afryer > Recently when shutting down TomEE (4.0.0-beta2) I have been getting the > following exception... > > SEVERE: Exception thrown while destroying bean instance : [S

Using @Inject to inject one EJB into another sometimes causes exceptions when EJBContainer is closed

2012-03-15 Thread afryer
Recently when shutting down TomEE (4.0.0-beta2) I have been getting the following exception... SEVERE: Exception thrown while destroying bean instance : [Stateless2, Name:null, WebBeans Type:ENTERPRISE, API Types:[openejb.ejbs.Stateless2Service,java.lang.Object], Qualifiers:[javax.enterprise.injec

Re: Missing web.xml file causes UnknownModuleTypeException

2012-03-15 Thread Neale Rudd
Hi Romain, I followed your instructions for the build, thanks for that. However - I get part way then it crashes here in the Core target building plexus: [INFO] [INFO] Building OpenEJB :: Container :: Core [INFO]task

Re: Container-specific method to prevent classpath scanning for EE annotations

2012-03-15 Thread Neale Rudd
Thanks Romain, Having trouble building the snapshot due to a problem in a dependant project, so we're trying conf/exclusions.list which does indeed seem to be in beta2. Couldn't find any docs, but from the source code, it seems to be in this format: avalon-framework- axis- axis2- bcprov- b

Re: OpenEJB vs JBoss

2012-03-15 Thread Neale Rudd
Hi Markus, Very impressed that you're running JEE on an embedded device with 128mb of RAM! Wouldn't have thought that was possible at all! Best Regards, Neale

Re: OpenEJB vs JBoss

2012-03-15 Thread David Blevins
Hi Markus! Thanks for the feedback! If there were a company with a large budget and expert engineers, what would be on the list of things you'd want to see done to make OpenEJB/TomEE a viable option? -David On Mar 15, 2012, at 4:01 AM, Markus Lutum wrote: > Hi Gil. > > Maybe I have a litt

RE: OpenEJB vs JBoss

2012-03-15 Thread Markus Lutum
Hi Gil. Maybe I have a little bit another opinion on this like the core developers because I am a user :-) At my current customer we uses Jboss since version 3.x so more than 8 years I think. Current productive system is using 4.2.3 and we currently try to migrate to JBoss 7.1 which is a big i

Re: OpenEJB vs JBoss

2012-03-15 Thread Romain Manni-Bucau
There are differences but we try to make them as small as possible (we even managed a way to simulate webapp context in standalone to get close url in both environments). To summarrize the differenec let say in standalone you dont have a webapp context. Maybe you can give us some more inputs rega

RE: OpenEJB vs JBoss

2012-03-15 Thread Gil Teitelbaum
Hi Romain, Thanks for your input. The things that I am most concerned about are performance and reliability. I especially worry about reliability - sometimes issues with reliability can be hard to find. By the way - do you know if there any differences in running openEJB embedded versus as part

Re: Container-specific method to prevent classpath scanning for EE annotations

2012-03-15 Thread Romain Manni-Bucau
in last version (understand trunk) you have 2 mecanisms: 1) tomee/conf/exclusions.list [i'm no more sure at all but i think it is in beta-2] -> contain a list of file (in fact prefixes: for instance "commons-") to avoid to scan 2) WEB-INF/scan.xml -> contains the list of classes and/or packages to

Re: OpenEJB vs JBoss

2012-03-15 Thread Romain Manni-Bucau
Hi, from what i know (but i'm not so fair) JBoss seems more complicated for a gain i don't see. OpenEJB is simple and works very well in production. One cons of OpenEJB is it is not *officially* certified for the whole JEE 6 stack (only webprofile) but your app should work perfectly. IMO you sho

OpenEJB vs JBoss

2012-03-15 Thread Gil Teitelbaum
Hi, Our company is trying to pick between JBoss and OpenEJB for a J2EE application that would use both EJB and JMS/MDBs for a production environment. Would anyone be able to tell me the pros and cons of using one or the other? Thanks Gil