1 Reply Latest reply on Apr 3, 2009 3:08 PM by zergspirit

    How to get POJO from another POJO?

    sherkan777

      Hi,
      Like in topic, I need to get my Pojo bean from inside of another pojo, how Can I do it?


      If I use SFSB/SLSB I do like that:


      NewsConsole action = (NewsConsole)Component.getInstance("newsAction",
      false);
      action.loadNewNews();



      What about pojo beans?
      Maybe this way?


      News action = (News)Component.getInstance("newsAction",false);
      action.loadNewNews();