Build and Deploy

To build your project, please follow the following steps:

  • Open command prompt window
  • Navigate to c:\aemformsbundles\mysite\core
  • Execute the command mvn clean install -PautoInstallBundle
  • The above command automatically builds and deploys the bundle to your AEM instance running on localhost:4502

The bundle is also available in the following location C:\AEMFormsBundles\mysite\core\target. The bundle can also be deployed into AEM using the Felix web console.

Test the Servlet Resolver

Point your browser to the servlet resolver URL. This tells you the servlet that is invoked for a given path as seen in the screen shot below
servlet-resolver

Test the servlet using Postman

Test the servlet using Postman

Next Steps

Include third party jar’s

Previous page2 - Create OSGi Service
Next page4 - Including third party bundles

Experience Manager