1 Reply Latest reply on Jan 4, 2006 9:45 AM by Thomas Diesler

    wscompile and EJB3 Entities

    Rudolf Frank Newbie

      I am trying to transfer EJB3 Entity Beans with J2EE 1.4 Web Services.
      Since EJB3 Entity Beans are POJO's it should be possible to transfer them directly instead of writing additional value objects.

      When I create the WSDL with wscompile from JWSDP 1.6 it doesn't find the annotation classes e.g. javax.persistence.Table although I put ejb3-persistence.jar in the classpath of wscompile.

      Is there a way to use EJB3 Entities as arguments in web services. Is it possible with J2EE 1.4 or must I wait until EJB3 web services are available?