简体   繁体   English

单个应用程序中的SOAP服务和JSF / Icefaces

[英]SOAP Service AND JSF/Icefaces in a single Application

I've got a JSF/Icefaces Webapplication (mainly a website where you can buy stuff) and I have a Desktopapplication written in C# (where you can use the bought stuff) 我有一个JSF / Icefaces Web应用程序(主要是可以在其中购买东西的网站),还有一个用C#编写的Desktop应用程序(可以在这里使用购买的东西)

But my DesktApp needs to acces the Server via SOAP Services (to retrieve the bought elements) 但是我的DesktApp需要通过SOAP服务访问服务器(以检索购买的元素)

What would be best practice - SOAP and JSF in one APP, or 2 seperate Applications? 最佳实践是什么-在一个APP或两个单独的应用程序中使用SOAP和JSF?

thanks for your help 谢谢你的帮助

I'm not sure how would you really benefit from a new application (ie new domain or context)? 我不确定您将从新的应用程序(即新的域或上下文)中真正受益吗?

I have a similar situation where I use JSF for Web Front and Servlet for web service requests and it works absolutely fine. 我有类似的情况,我在Web Front上使用JSF,在Web服务请求上使用Servlet,它的工作原理绝对不错。

If you are using EJB3.0 then you can simply create web services by @WebService annotation on State Beans. 如果使用的是EJB3.0,则可以通过State Bean上的@WebService批注简单地创建Web服务。

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

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