带有本地数据库的 Java RIA 应用程序同步支持
我需要为使用平板电脑的客户开发一个订购系统。由于它们并不总是连接,因此应用程序需要复制数据库并能够根据命令与主数据库同步。
部署到客户端应该很容易,我想使用 java 技术,因为我熟悉 Toplink EJB 持久性和 Glassfish 作为数据检索的前端中间件。
我考虑使用 JDeveloper ADF 来构建 UI,因为它很简单,使用 Derby 进行本地存储,使用 Glassfish 或 WebLogic 作为中间件。
- 这是一起使用这些技术的好方法吗?
- 我应该使用框架来与数据库同步吗?
- 如何实现部署自动化?
感谢您的帮助!
I need to develop an ordering system for a client that works with tablet computers. Because they are not always connected, the app needs a replication of the database and the ability to synchronize with the main database on command.
Deployment to the clients should be easy and i want to use java technologies because i am familiar with Toplink EJB persistence and Glassfish as a front-end middleware for data retrieval.
I was thinking about using JDeveloper ADF for building the UI because of its ease, Derby for local storage and Glassfish or WebLogic as middleware.
- Is this a good approach of using these technologies together ?
- Should i use a framework to synchronize with the database ?
- How can deployment be automated ?
Thanx for ur help!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
1) 将 JDeveloper 与 Derby 结合使用是一个好主意。您可以轻松设置。以下链接提供了有关如何执行此操作的信息http: //tenthsense.blogspot.com/2011/08/using-apache-derby-with-jdeveloper-to.html
2) 使用 ADF 也是一个好主意..因为它大大减少了开发时间。我对 Glassfish 不了解,但 weblogic 是 ADF 的标准,如果您使用它应该不会有问题。我实际上尝试在 Tomcat 上部署它,虽然我成功了,但我不会建议,因为部署非常不稳定。但它有效并且是开源的:-)
以下链接提供了有关如何操作的信息
http://tenthsense.blogspot.com/2011 /08/using-apache-derby-with-jdeveloper-to.html
-hiten
1) using JDeveloper with Derby is a good idea. you can set it up easily. following link gives information on how to do it http://tenthsense.blogspot.com/2011/08/using-apache-derby-with-jdeveloper-to.html
2) using ADF is a good idea too.. as it drastically reduces the development time. I have no idea on Glassfish, but weblogic is standard for ADF and there should be no problems if you use that. I actually tried deploying it on Tomcat, although I was successful I won't suggest as the deployment is highly unstable. But it works and its open source :-)
following link gives information on how to do it
http://tenthsense.blogspot.com/2011/08/using-apache-derby-with-jdeveloper-to.html
-hiten