开发者

Lift Web Framework modules

suppose you have 2 separate lift applications (CRM and shop). The shop depends on CRM (clients).

How do you connect them? In Django you just have to put 开发者_StackOverflow社区it in INSTALLED_APPS setting tuple... Is there any similar mechanism for lift? Is it possible to build lift applications from such modules?

Thianks in advance, Etam.


Lift doesn't have any built-in capabilities to integrate applications, but you can follow common integation styles:

  • Shared database: two applications are using one database;
  • Remote Procedure Invocaton: SOAP webservices, EJB, CORBA, etc;
  • Messaging: messaging middleware (Active MQ, Rabbit MQ, Redis Pubsub), Scala Remote Actors;
  • Shared Resources: XML/JSON REST sevices;

Besides that, you can use Lift with Spring Integration and Apache Camel - frameworks that simplify integration of generic applications.


As I understand, Django modualarization you're referring to happens on a container level. Close altenatives in the JVM-ecosystem are OSGi / Jigsaw (the second will probably be a part of JVM8).

Basic modularization these days is done with JARs/WARs/etc - specifically your applications should be archived as WARs and deployed separately to the app server.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜