My book, my movies, my videos, my podcasts, my events ... the big collection of paul wheaton stuff!
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
My book, my movies, my videos, my podcasts, my events ... the big collection of paul wheaton stuff!
Originally posted by Rufus BugleWeed:
Fowler and Mathews are in favor of the webserver and the EJB container in the same JVM. IBM preaches that the webserver belongs in the DMZ. Anyone care to make the case against the webserver in the DMZ? Obviously the performance is better when co-located.
Websphere is using an Apache dirivative, which is C based. Jboss is using Jetty which could be collacated. The word I hear is JBoss is slow. Anyone one dispute that?
How does BEA implement their solution?
Yep. It's 100% Java so you can do something like new HttpServer(), server.start(), register some handlers for incoming HTTP requests, and you're on your way...Originally posted by Rufus BugleWeed:
Am I correct that Jetty is an embedded webserver of sorts?
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Originally posted by Chris Mathews:
I believe that the Web Container and the EJB Container (if used) should be co-located.
-- <br />Richard Monson-Haefel<br /><a href="http://www.Monson-Haefel.com" target="_blank" rel="nofollow">http://www.Monson-Haefel.com</a>
My book, my movies, my videos, my podcasts, my events ... the big collection of paul wheaton stuff!
Binildas C. A.<br />Principal Architect, <a href="http://www.infosys.com/" target="_blank" rel="nofollow">http://www.infosys.com/</a><br />(SCJP, SCJD, SCBCD, SCEA, MCP, TOGAF, LZA)<br /><a href="http://www.packtpub.com/author_view_profile/id/180" target="_blank" rel="nofollow">http://www.packtpub.com/author_view_profile/id/180</a>
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Originally posted by Tonny Tssagovic:
PS: the example is just for simplification, of course in this case you would not have fail-over, and would have a single point of failure. (at the web-container machine, and at the EJB machine).. But you migh as well have a cluster of web containers and a cluster of app servers. (the DB is ignored in here)
TTFN,<br /> <br />-bd-<br /> <br /><a href="http://www.amazon.com/exec/obidos/ASIN/0471449156/qid=1064343733/sr=2-1/ref=sr_2_1/002-8375300-3666449" target="_blank" rel="nofollow">Jakarta Pitfalls</a> | <a href="http://www.amazon.com/exec/obidos/tg/detail/-/0471146153/qid=1064343733/sr=1-2/ref=sr_1_2/002-8375300-3666449?v=glance&s=books" target="_blank" rel="nofollow">J2EE AntiPatterns</a> | <a href="http://www.amazon.com/exec/obidos/tg/detail/-/0471462071/qid=1064343733/sr=1-3/ref=sr_1_3/002-8375300-3666449?v=glance&s=books" target="_blank" rel="nofollow">Mastering JavaServer Faces</a> | <a href="http://bill.dudney.net/roller/page/bill" target="_blank" rel="nofollow">Blog</a> | <a href="http://www.jroller.com/page/BillDudney" target="_blank" rel="nofollow">Eclipse Blog</a> | <a href="http://www.sourcebeat.com/TitleAction.do?id=2" target="_blank" rel="nofollow">Eclipse 3 Live</a>
Originally posted by Fokko Degenaar:
Security:
I can't agree on that one. The nice thing about having a standard here is
Originally posted by karthik Guru:
But I found that J2EE security doesn't integrate with JAAS either.
Originally posted by Fokko Degenaar:
Anyway, J2EE security and JAAS seem to go together rather well:
JAAS LoginModule in the J2EE Application
Ashik Uzzaman
Director of Engineering, Twin Health, Mountain View, CA, USA
paul wheaton wrote:Developing a simple method as an EJB turns out to be a fairly complicated matter. Many files to define the bean. Many lines of code to get the home, get the remote and then make the method call.
There are times when the security gets in your way, or you decide that you want to do security a different way.
The CMT can be cool, but it doesn't take a lot of code to do it manually for those times that you need it.
I'm not a big fan of CMP - preferring my own persistance stuff.
I suppose that when using EJB, I can gain the failover and distributed system stuff that comes with J2EE and EJB, but there can be other ways to handle that sort of thing that aren't too complicated.
There have been several EJB projects I have worked on in the past where when the project was done, the developers held the opinion "We could have finished 20% faster if we didn't use EJB and if we used other stuff for where the EJB parts were."
I guess I would really like to see a discussion on when not to use EJB. And maybe even a discussion of projects where all of the complexity of EJB is well worth it.
Anybody have any experiences they want to share? Opinions?
Anton Golovin ([email protected]) SCJP, SCJD, SCBCD, SCWCD, OCEJWSD, SCEA/OCMJEA [JEE certs from Sun/Oracle]
Yes, of course, and I accept that blame. In fact, i covet that blame. As does this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|