WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Where/What is the equivalent WAS tools like ejbdeploy.sh or WSDL2Java.sh on WLP or OpenLiberty?

  • 1.  Where/What is the equivalent WAS tools like ejbdeploy.sh or WSDL2Java.sh on WLP or OpenLiberty?

    Posted Fri August 04, 2023 10:03 AM

    Hi,

    Traditional WAS offers tools in form of shell or batch files. For example:

    ${WAS_HOME}/profiles/[PROFILE]/bin/ejbdeploy.sh
    ${WAS_HOME}/profiles/[PROFILE]/bin/WSDL2Java.sh

    I'm using these tools in build scripts. Is there an equivalent of these tools in Websphere Liberty Profile or OpenLiberty? 

    Thanks



    ------------------------------
    Hooman Mozaffari
    ------------------------------


  • 2.  RE: Where/What is the equivalent WAS tools like ejbdeploy.sh or WSDL2Java.sh on WLP or OpenLiberty?

    Posted Fri August 04, 2023 11:15 AM

    Liberty provides a good place to migrate and modernize existing WebSphere applications using APIs like EJB and Web Services, and the development and tooling experience will vary by component.   In general you don't need to run the EJB deploy tool any more as explained in: https://stackoverflow.com/questions/60580632/migrating-websphere-9-ant-tasks-to-websphere-liberty .   As far as WSDL2Java, this suggests you're using JAX-RPC web services, in which case you might want to look at the JAX-RPC -> JAX-WS conversion tooling: https://www.ibm.com/docs/en/was-liberty/base?topic=liberty-migrating-jax-rpc-applications.    (Liberty does provide wsimport as the JAX-WS analogue of WSDL2Java).



    ------------------------------
    Scott Kurz
    ------------------------------