![]() Add a launcher classĬreate a file called Main. The appassembler plugin generates a launch script that automatically sets up your classpath and calls your main method (created below) to launch your application. There are two major implementations of JAX-RS API. JAX-RS is the Java API for REST web services whereas JAX-WS is the Java API for SOAP web services. If you use this technique for an application that doesn’t use JSPs then you can just include the first 3 dependencies. REST web services request and response types can be XML, JSON, text etc. The last 3 entries are only required for applications that use JSP files. This pom.xml defines the dependencies that you’ll need to run Tomcat in an embedded mode. Basic Git knowledge, including an installed version of Git.Ĭreate a folder to hold your app and create a file called pom.xml in the root of that folder with the following contents:. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |