Reputation: 86
I have not worked on websphere aplication server, i have a simple rest api i want to deploy that to websphere application server.
need to know the detailed configuration of the websphere application server from scratch
want to understand how the websphere application server works, what are the ports number that are configured, how to access the logs if i am having any issues with the code of starting up the server.
Upvotes: 0
Views: 1974
Reputation: 18050
Kind of broad question. WebSphere dosn't have anything special here. Just use standard Java EE rest apis, dont use Spring as it doesnt bring any additional value.
So simplified steps:
@ApplicationPath("/api")
@Path("/hello")
implement methods e.g.
@GET
@Produces(MediaType.TEXT_PLAIN)
public String getHello() {
return "Hello from rest ";
}
package as war
dropins
)Upvotes: 1