
1) Can I port my Java based API on Force.com/SFDC or I'll have to rewrite into APEX
답변 3개
Hi Parimal,
Thanks for the clarifications. The answer to both questions is yes you sure can. But again, I would urge caution if pursuing either. Because Visualforce (the platform’s markup language) was designed with the MVC paradigm in mind, each component in the MVC pattern is modular. That means we can essentially interchange front ends, backends and data models in any solution.
So your first item would require custom visualforce pages and probably hosted on a site.com solution. The pages would have custom controllers (apex) and those controllers would then call out and hook into your existing database and perform transactions as usual. Salesforce has a range of APIs for integrations and you are only limited based on what your custom solution can offer. Also, due to the platform’s multi-tenant nature, you will also need to ensure your transactions are as efficient as possible, as the platform has to enforce some sort of resource allocation protocol. Of course, again, I urge you away from this.
Your second item is basically the same but instead of using the platform’s front end tools, you wish to use your custom front end with the underlying database hosted on the platform. You can definitely do this also. But this one is a little different in that you need to pay extra attention to how you proceed if you take this route. I have heard tales of people using the platform in this manner and doing it in a way that I do not agree with and am not recommending. But I will not expand on that and just say that the platform has a robust list of APIs to leverage. Link below.
https://developer.salesforce.com/page/Salesforce_APIs
Also, it may be useful for you to take a look at Heroku. I will admit I am not very up to snuff on my Heroku knowledge but I can say it is capable of powerful things. One of its greatest strengths is that it allows for developers to stick with the language they know and still have a fully functional salesforce1 app.
https://developer.salesforce.com/platform/overview#.heroku
Hope all that helps!