首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > 一个支持ASP.NET解决方案框架MVC前端java EE

一个支持ASP.NET解决方案框架MVC前端java EE

资 源 简 介

This framework supports Java EE solutions with ASP.NET MVC frontends. The implementation is divided in Java and C# and controls the communication between them. As the framework generates dynamic proxies, the user is able to make full use of both technologies. The data exchange is binary provided by a web services. An example of calling a Java EJB in .NET: public class XYZController : Controller { [JavaNETFacade] // the framework calls the corresponding facade in java private HelloWorldFacade helloWorldFacade; ... public ActionResult HelloAction() { String result = helloWorldFacade.sayHelloTo("Java.NET"); ... } } Here is the corresponding EJB: ``` @Stateless @LocalBean public class HelloWorldFacade { public String sayHelloTo(String name) { return "Hello, " + name; } } ```
VIP VIP
0.163120s