I'm not sure what 

anonymous wrote : - SFSB_1 is instaciated and tied to a JSF.

or

anonymous wrote : - SFSB_2 has not be instianciated. In fact the event that 
fired inside SFSB_1 has all of the data needed to create a POJO Entity Bean 
that is tied to SFSB_2. 

means.  Apart from that why not do

@Name("sfsb1")
  | public class SFSB_1 {
  | 
  | // Inject any objects
  | 
  | @In(create=true)
  | private SFSB_2 sfsb2;
  | ...
  | 
  | public String checkin() {
  |    // Stuff
  |    sfsb2.create();
  |    // Stuff
  |    return "something";
  | }
  | ...
  | }

@Name("sfsb2")
  | public class SFSB_2 {
  | ...
  | // Inject any objects
  | 
  | public void create() {
  |   // Stuff
  | }
  | ...
  | }

Any help?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976521#3976521

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976521
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to