简体   繁体   English

将Java Restful Web服务部署到实时服务器

[英]Deploy Java restful web service to live server

I have just learned to create java rest API using jersey and Oracle database. 我刚刚学会了使用jersey和Oracle数据库创建java rest API。 I'm developing in eclipse and using weblogic server to run and test web service on localhost. 我正在eclipse中进行开发,并使用weblogic服务器在本地主机上运行和测试Web服务。

My question is what are the options of live servers to deploy this service so that I can access this API in my android application or any web application??? 我的问题是部署此服务的实时服务器有哪些选择,以便我可以在我的android应用程序或任何Web应用程序中访问此API?

You can do that. 你可以做到的。 But you have to make sure that all the dependent jars are packaged with the your WAR project(eg; Oracle db related things). 但是您必须确保所有相关的jar都与WAR项目一起打包(例如,与Oracle db相关的东西)。

Some blog entries which give you an idea about what are all these servers and which one to pick for open development and common standards - http://blogs.forrester.com/mike_gualtieri/11-07-15-stop_wasting_money_on_weblogic_websphere_and_jboss_application_servers , 一些博客条目使您对所有这些服务器以及开放式开发和通用标准应选择的服务器有所了解-http://blogs.forrester.com/mike_gualtieri/11-07-15-stop_wasting_money_on_weblogic_websphere_and_jboss_application_servers

and this one http://zeroturnaround.com/rebellabs/the-great-java-application-server-debate-with-tomcat-jboss-glassfish-jetty-and-liberty-profile/ 而这个http://zeroturnaround.com/rebellabs/the-great-java-application-server-debate-with-tomcat-jboss-glassfish-jetty-and-liberty-profile/

This will give pretty good idea about what is all these servers :) 这将为所有这些服务器提供非常好的主意:)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM