0

I read a lot about possible Java Web Development architectures (servlets+JSP, Spring MVC, Struts etc.). One of them is "plain Java EE 6" with EJB 3, in opposition to Spring/Spring MVC.

I started to read book (EJB 3.1) and tutorials, but I can't find single example of where the request to EJB starts at "human level" or what is the complete (with UI) architecture.

What is the most popular technology that connects Enterprise Java Beans bussines functionality at HTTP and web browser level?

hbpitero
  • 3
  • 1

1 Answers1

3

(JavaServer Faces) is a technology formalized as part of Java Enterprise Edition. JSF 2.0 was released together with Java EE 6.

Tomasz Nurkiewicz
  • 334,321
  • 69
  • 703
  • 674
  • And is it the most popular combination (JSF(facelets) + EJB) in real word projects? – hbpitero Feb 16 '13 at 14:33
  • @hbpitero: that I haven't said. You are free to use any framework you want, I like Spring MVC, Wicket. Play is gaining a lot of momentum. But JSF is *the* standard. – Tomasz Nurkiewicz Feb 16 '13 at 14:37
  • I mean combination with EJB. Is connecting spring MVC with EJB popular? – hbpitero Feb 16 '13 at 14:55
  • @hbpitero: I never worked on pure EJB project. If you are using Spring MVC, Spring framework might be more obvious choice. But it's possible. As a matter of fact you can integrate virtually any web framework with EJB. There are no specifically popular ones. – Tomasz Nurkiewicz Feb 16 '13 at 14:57
  • 2
    @TomaszNurkiewicz You can use virtually any framework with EJB indeed, but the model of JSF having backing beans that are injected with services (EJB beans) is specifically tailored to work together. Just as a couple of other parts from Java EE, like JPA and Bean Validation can all be used with any mix and match of styles, frameworks and patterns you can think of, they particularly (or perhaps "at least" is a better word) work well together. – Arjan Tijms Feb 16 '13 at 17:31
  • I'm working on a project with `PURE Java EE` and `PURE Java EE` only. `(JPA + EJB) -> (JSF/JAX-RS/JAX-WS)` is the way to go. – Jin Kwon Feb 28 '13 at 14:22