简体   繁体   English

在WLS / JDeveloper中部署一个简单的Java文件

[英]Deploying a simple java file in WLS/JDeveloper

We have a scenario where we have a java code which calls some API's to send/receive XML to the target system. 我们有一个场景,我们有一个Java代码,该Java代码调用一些API将XML发送/接收到目标系统。 This code works locally on the VM. 此代码在VM上本地工作。 Our client needs to call this code in order to retrieve the information via http call to WLS server. 我们的客户需要调用此代码,以便通过对WLS服务器的http调用来检索信息。 What we are trying to figure out is which kind of project do I need to create in JDeveloper in order to deploy it on WLS so client can call the java file via http. 我们试图弄清楚的是,我需要在JDeveloper中创建哪种项目才能将其部署在WLS上,以便客户端可以通过http调用Java文件。 I have spent few days reading WLS documentation but couldn't figure it out. 我花了几天的时间阅读WLS文档,但无法弄清楚。 Any help is greatly appreciated? 任何帮助是极大的赞赏?

SL SL

You might want to consider developing this as a Web Service (SOAP or REST). 您可能要考虑将其开发为Web服务(SOAP或REST)。 For example - http://docs.oracle.com/cd/E53569_01/tutorials/tut_web_services/tut_web_services.html 例如-http://docs.oracle.com/cd/E53569_01/tutorials/tut_web_services/tut_web_services.html

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

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