集成 java 和 apex (salesforce)
我是一名销售新手,我需要将 java 业务逻辑与 apex 页面集成。 不使用 vwmforce 是否可以做到这一点?请注意,我还必须包含我自己的库和第三方库。 有相关教程/资源吗?
提前致谢
I'm a salesforce newbie and I need to integrate java business logic with apex pages.
Is it possibile to do it without using vwmforce? Note that I have to include my own and third party libraries as well.
Is there any tutorial/resource about that?
Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以从 Salesforce 对单独的 Java 代码执行标注(只要它公开为 Web 服务或至少可以接受 HTTP 消息)。
一般来说,您可以“推送”(在发生某事时从 Salesforce 发送通知,同步或不同步)和“拉取”数据(定期向您的 Java 应用程序请求更改或在您这边发生某事时发送插入等)。
但如果您想在 Salesforce 服务器上而不是在您自己的计算机上运行 Java,那么 vmforce 可能是唯一的选择。我还没试过这个。
最后,在 Apex、Visualforce 等下,有 Oracle 数据库和 Java(带有 JSP),但我怀疑他们会授予访问权限;)
You could perform callouts from Salesforce to your separate Java code (as long as it's exposed as webservice or at least can accept HTTP message).
Generally you can both "push" (send from Salesforce notifications when something happens, synchronously or not) and "pull" data (periodically ask from your Java application for changes or send INSERTS etc. whenever something happens on your side).
But if you want to run your Java on Salesforce server and not on your own machine - tough, vmforce might be the only option. I haven't tried this one yet.
In the end under the Apex, Visualforce etc. there are Oracle databases and Java (with JSP), but I doubt they'll grant access to it ;)