开发者

Modifying Spring MVC app to be accesseb by remoting from Eclipse RCP app

开发者 https://www.devze.com 2023-03-18 10:15 出处:网络
I would like to ask what would be the best wa to modify a Spring MVC to be accessed via remoting from Eclipse RCP application? What approach would you choose and why?

I would like to ask what would be the best wa to modify a Spring MVC to be accessed via remoting from Eclipse RCP application? What approach would you choose and why?

And is there any 开发者_StackOverflow社区tutorial regarding Eclipse RCP remoting on the web?

Any advices and recommendations are appreciated.


My approach would be to have the Spring MVC app split in layers:

  • the presentation layer is where Spring MVC is used. It contains the presentation logic and calls the service layer
  • the service layer is where the business logic is. It calls the data access layer
  • the data access layer is where the persistence logic is.

I would thus have to make some or all of the services of the service layer remotely accessible (using Spring HttpInvoker, web services or whatever), and potentially add some more dedicated to the specifics of the RCP app.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号