Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #8216
| From | Lew <lewbloch@gmail.com> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Java EE on tomcat? |
| Date | 2011-09-22 13:38 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <18581278.1150.1316723880309.JavaMail.geo-discussion-forums@prfp13> (permalink) |
| References | (4 earlier) <j58f7c$4up$1@speranza.aioe.org> <utYdq.12449$Ol1.5245@newsfe07.iad> <ee7db784-e370-40c7-954e-bfa2977c49a9@u20g2000yqj.googlegroups.com> <4e7a82d8$0$288$14726298@news.sunsite.dk> <174d3864-bc37-4edc-bcfd-af475c11b906@k7g2000vbd.googlegroups.com> |
nroberts wrote: > Arne Vajhøj wrote: >> You should do: >> >> requirements => technologies => infrastructure >> >> not the other way around. > > Yes. > >> >> Start by finding out whether you need EJB or not. > > Which is impossible if you don't know what EJB does and what it > provides extra to additional or alternative technologies. As I explained upthread, EJB (Enterprise Java Beans) are middleware components that implement business logic, typically to be shared as services by multiple applications. >>> What is it that EJB offers me that I don't get with these other >>> standard technologies? I thought it was things like SessionBeans and >>> such, but if I use the CDI and JSF bits it seems like I get a lot of >>> the same behavior because I've got @ManagedBean or @Named. I'm >>> finding this confusing. >> >> I would consider: >> - session beans and CDI orthogonal >> - session beans and managed beans different > > In what way though? Session beans are orthogonal to CDI in that you can use session beans with or without dependency injection, and dependency injection with or without session beans. Session beans and managed beans differ, once again as already answered upthread (perhaps you missed that post?), in that session beans are a business logic, middleware component that serves the "Model" part of the MVC architecture, and JSF managed beans are front-end components that serve the "Controller" part of the MVC architecture. -- Lew
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
Re: Java EE on tomcat? Arne Vajhøj <arne@vajhoej.dk> - 2011-09-08 17:41 -0400
Re: Java EE on tomcat? Torsten Kirschner <torsten.kirschner@gmail.com> - 2011-09-19 00:30 +0200
Re: Java EE on tomcat? Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-09-18 20:44 -0300
Re: Java EE on tomcat? Torsten Kirschner <torsten.kirschner@gmail.com> - 2011-09-20 00:20 +0200
Re: Java EE on tomcat? Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-09-20 05:50 -0300
Re: Java EE on tomcat? nroberts <roberts.noah@gmail.com> - 2011-09-21 08:45 -0700
Re: Java EE on tomcat? Lew <lewbloch@gmail.com> - 2011-09-21 11:19 -0700
Re: Java EE on tomcat? nroberts <roberts.noah@gmail.com> - 2011-09-21 11:31 -0700
Re: Java EE on tomcat? Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-09-21 17:37 -0300
Re: Java EE on tomcat? nroberts <roberts.noah@gmail.com> - 2011-09-21 11:29 -0700
Re: Java EE on tomcat? Lew <lewbloch@gmail.com> - 2011-09-21 14:26 -0700
Re: Java EE on tomcat? nroberts <roberts.noah@gmail.com> - 2011-09-22 10:27 -0700
Re: Java EE on tomcat? Lew <lewbloch@gmail.com> - 2011-09-22 13:30 -0700
Re: Java EE on tomcat? Arne Vajhøj <arne@vajhoej.dk> - 2011-09-21 20:40 -0400
Re: Java EE on tomcat? Arne Vajhøj <arne@vajhoej.dk> - 2011-09-21 20:35 -0400
Re: Java EE on tomcat? nroberts <roberts.noah@gmail.com> - 2011-09-22 10:23 -0700
Re: Java EE on tomcat? Lew <lewbloch@gmail.com> - 2011-09-22 13:38 -0700
Re: Java EE on tomcat? Arne Vajhøj <arne@vajhoej.dk> - 2011-09-22 21:15 -0400
Re: Java EE on tomcat? Arne Vajhøj <arne@vajhoej.dk> - 2011-09-19 21:55 -0400
Re: Java EE on tomcat? eric@invalid.com (EricF) - 2011-09-21 04:38 +0000
Re: Java EE on tomcat? Arne Vajhøj <arne@vajhoej.dk> - 2011-09-21 20:29 -0400
Re: Java EE on tomcat? eric@invalid.com (EricF) - 2011-09-22 02:41 +0000
Re: Java EE on tomcat? Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-09-22 06:08 -0300
Re: Java EE on tomcat? Arne Vajhøj <arne@vajhoej.dk> - 2011-09-22 21:18 -0400
Re: Java EE on tomcat? Lew <lewbloch@gmail.com> - 2011-09-22 08:39 -0700
Re: Java EE on tomcat? Robert Klemme <shortcutter@googlemail.com> - 2011-09-22 22:58 +0200
Re: Java EE on tomcat? Arne Vajhøj <arne@vajhoej.dk> - 2011-09-22 18:47 -0400
Re: Java EE on tomcat? eric@invalid.com (EricF) - 2011-09-24 04:45 +0000
csiph-web