webMethods

webMethods

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

How to create a servlet with Application Platform like with WmTomcat

  • 1.  How to create a servlet with Application Platform like with WmTomcat

    Posted Sun May 05, 2019 06:32 AM

    Hi folks,
    since Application Platform is advertised as successor of WmTomcat and WmTomcat is not supported in the latest releases anymore, we have to migrate our Tomcat servlets in the our custom IS packages (Java classes inheriting from HttpServlet which can directly serve HTTP requests from clients) to WmAppPlat.
    I’ve seen tutorials showing how to set up regular Java projects with Java classes with the Application Platform, but not Web projects with servlets. I’ve created a Web project for App Platform with the Application Platform Web Facet, but I cannot select this very Web project when trying to add/create a servlet (File → New → Servlet).

    So my question is how to do that?

    Many thanks in advance!


    #Integration-Server-and-ESB
    #webMethods
    #Application-Platform
    #webMethods-General


  • 2.  RE: How to create a servlet with Application Platform like with WmTomcat

    Posted Tue July 16, 2019 12:05 PM

    Hello Marcus,
    WmTomcat applications may be migrated to App Platform 10.3. Also recently, we have back-ported support to 10.1 as well; however, this requires installing a couple of App Platform fixes available on Empower.

    However, there is no Designer/Eclipse tooling support available until version 10.4. In 10.4, you may create a Dynamic Web Application project in Eclipse and publish the project to the Integration Server.

    The customers running on 10.1 or 10.3, are using Tomcat’s ‘manager’ webapps app to work around this deployment issue.

    thanks


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods
    #Application-Platform


  • 3.  RE: How to create a servlet with Application Platform like with WmTomcat

    Posted Tue November 12, 2019 06:10 AM

    Hi Warren,
    maybe my question was a bit confusing. Sorry!

    Apart from the migration, how can I add a servlet to a AppPlatform Web Project in order to publish it as a HTTP servlet to IS?

    Best regards,
    Marcus


    #webMethods
    #webMethods-General
    #Application-Platform
    #Integration-Server-and-ESB


  • 4.  RE: How to create a servlet with Application Platform like with WmTomcat

    Posted Thu February 27, 2020 07:44 AM

    I just want to let the community know that your suggested approach works for us. We create a servlet in a Dynamic Web Application project with Designer 10.5, publish it to the local IS 10.5 and finally copy+paste the WAR file from the local IS 10.5 to the target IS 10.3.

    Best regards,
    Marcus


    #Integration-Server-and-ESB
    #webMethods
    #Application-Platform
    #webMethods-General


  • 5.  RE: How to create a servlet with Application Platform like with WmTomcat

    Posted Thu February 27, 2020 09:10 AM