简体   繁体   English

Java门户架构注意事项

[英]Java portal architectural considerations

Currently there exists a need to create an application that will serve 5 different customers each requiring their own specific URL and content repository. 当前,需要创建一种应用程序,该应用程序将为5个不同的客户提供服务,每个客户都需要他们自己的特定URL和内容存储库。 My question is when designing this application what should my considerations be for protecting the content of the individual customers while meeting the requirements of the unique URL. 我的问题是,在设计此应用程序时,在满足唯一URL的要求的同时,应考虑哪些因素来保护单个客户的内容。 The system will be sitting on Windows with a postgres database and java as the implementation language. 该系统将安装在Windows上,并具有postgres数据库和java作为实现语言。

I'm not sure I understand to the following : 我不确定我是否了解以下内容:

each requiring their own specific URL 每个都需要自己的特定网址

x X

meeting the requirements of the unique URL 符合唯一网址的要求

But I sense what you want to do. 但是我知道你想做什么。 The fact that there would be 5 groups/communities of users makes the application quite complicated. 用户将有5个组/社区这一事实使应用程序变得相当复杂。 You are not explaining yourself much so I can refer to Liferay portal, which practically implements everything you need : user/group management and content repository. 您没有太多解释,因此我可以参考Liferay门户,该门户实际上实现了您需要的一切:用户/组管理和内容存储库。

If you don't mind that it is a portlet container, then developing a simple portlet that handles various groups of users that operate on content repository of various resources, could be much easier than programming it from scratch. 如果您不介意它是Portlet容器,那么开发一个简单的Portlet来处理在各种资源的内容存储库上运行的各种用户组,可能比从头开始对其进行编程要容易得多。 It's all done, you just set it up. 全部完成,只需设置即可。

I would look at something like liferay.com. 我会看诸如liferay.com之类的东西。 It is a portal server. 它是门户服务器。 Each Client can be setup as their own community with in the portal server. 可以在门户网站服务器中将每个客户端设置为自己的社区。 Each community can be setup as a Virtual Host so you can setup a Domain for each client. 每个社区都可以设置为虚拟主机,因此您可以为每个客户端设置一个域。 Liferay can sit ontop of Postgres with no problem. Liferay可以毫无问题地坐在Postgres的上面。 It is a java application. 它是一个Java应用程序。 There is an open source and a commerical license. 有一个开源软件和一个商业许可证。

Your clients can also maintain all of their own content and you don't have to worry about the other sites. 您的客户也可以维护自己的所有内容,而您不必担心其他站点。

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

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