AFAIK, the whole goal of JBoss Seam is to integrate EJB and JSF.
The Seam in Action book says:
By design, EJB components cannot be bound directly to a JSF view. It's great that EJB components are scalable, transactional, thread safe and secure, but it doesn't do much well if they are completely isolated from the web tier, accessible only through JSF bean support, acting as an intermediary.
But I could not find the reason / motive for this impossibility, why are they isolated from the web level? Why can't I use EJB as a bean support? Mention me?
/ , -?
- . - , , , .
EJB beans, FacesMessages , , ..
. , , EJB EJB ( EJB3 ). Java EE 6 EJB -. CDI beans.
(, , ), ( -, -, JSP ).
. CDI (Weld), . CDI @Inject EJB JSF bean. ( , CDI, CDI JavaEE6, @EJB private RemoteInterface bean)
@Inject
@EJB private RemoteInterface bean
JPA. JPA EJB, "Entity beans", EJB, EJB JPA, . JPA - ORM. EJB - /.
@Entity EntityManager. ejb, , CDI. , , . . CDI/EJB/Seam , , .
@Entity
EntityManager
Source: https://habr.com/ru/post/1788003/More articles:Repeating symbol - iphoneПоверхность условная логика внутри - jsf-2How to determine which row in an array is most similar to a given row? - c #https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1788001/how-to-track-changes-to-an-object-graph&usg=ALkJrhi0aKCq_uXQck2xpAHU-nfzTjBkYgCapistrano: Use Bundle Gems from the Standard Gem-Home - ruby | fooobar.comVisual Studio 2010: what is a .pfk file? - visual-studio-2010Disable warning in only one place - flexDotNetNuke Control Panel Won't Go - dotnetnukeSimulating jQuery $ .post / $. Ajax to read XML - javascriptCombine all array values - arraysAll Articles