Skip to content

Delivery Excellence, DevOps: Cloud-native Deployments of Data Science Models w/ Java ReSTful Services

License

Notifications You must be signed in to change notification settings

danielschulz/aiModelsAtScaleOnRestfulJeeSvcs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aiModelsAtScaleOnRestfulJeeSvcs

Delivery Excellence, DevOps: Cloud-native Deployments of Data Science Models w/ Java ReSTful Services

Access to Deployments via CLI

the curl command looks as follows when deploying to the default context on the web app server, which is "/"

lightweight Java app server -- Jetty

Jetty asks for custom deployment context. In this case, I used "/daniel" for it.

Jetty/Browser:

http://localhost:8080/daniel/hello/world

Jetty/CLI:

time curl http://localhost:8080/daniel/hello/world time curl -X GET http://localhost:8080/daniel/hello/world

JEE -- WildFly

JEE application servers may use the WAR's resp. EAR's file name as the deployment context. In this case, it defaults to "/aiModelsAtScaleOnRestfulJeeSvcs".

WildFly/Browser:

http://localhost:8080/aiModelsAtScaleOnRestfulJeeSvcs/hello/world

WildFly/CLI:

time curl http://localhost:8080/aiModelsAtScaleOnRestfulJeeSvcs/hello/world time curl -X GET http://localhost:8080/aiModelsAtScaleOnRestfulJeeSvcs/hello/world