Announcement Announcement Module
Collapse
No announcement yet.
Using XmlBeanFactory used by a EJB Session (Weblogic Server) Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using XmlBeanFactory used by a EJB Session (Weblogic Server)

    Hi,

    To test an EJB Session without database, my session ejb uses XmlBeanFactory by a Dao Test.

    Code:
        public static XmlBeanFactory getFactory() {
            if (factory == null) {        
            	log.debug("Initialize new XmlBeanFactory");
                Resource res = new ClassPathResource("bean.xml");
                factory = new XmlBeanFactory(res);
            }
            return factory;
        }
    So, I used the Dao Test to retrieve Serializable object. But I don't understand why, but the XmlBeanFactory doesn't retrieve all attributs of my object. I use the same XmlBeanFactory and the same bean.xml with a standard application java and it works !!

    Any ideas ? Thx for your help !!

  • #2
    Oups :oops:

    It didn't work because my client and my server had not the same Serializable object.


    No, it works !! Sorry !!

    ++

    Comment

    Working...
    X