Tell me more ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I'm planning to create an application in Android and Web which relies on a back-end java application for data. So, currently I'm thinking of having the business logic in java layer which communicates with the database. Only the requests will be received from Android and Web.

I want to know which framework is suits well for this scenario and easy to maintain.

kindly help.

share|improve this question
1  
1) You don't say anything about what the backend does or how the front ends will communicate with the backend, or anything else that is relevant. 2) Even if you did, it is unlikely that anyone can make an objective recommendation ... based on a comparison of all of the possible frameworks. – Stephen C Apr 5 at 8:26
Sharing your research helps everyone. Tell us what you've tried and why it didn’t meet your needs. This demonstrates that you’ve taken the time to try to help yourself, it saves us from reiterating obvious answers, and most of all it helps you get a more specific and relevant answer. Also see How to Ask – gnat Apr 5 at 8:35

closed as not constructive by gnat, Martijn Pieters, Bart van Ingen Schenau, Kilian Foth, Jalayn Apr 5 at 12:39

As it currently stands, this question is not a good fit for our Q&A; format. We expect answers to be supported by facts, references, or specific expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, see the FAQ for guidance.

2 Answers

For the client/server interface the best choice is probably JAX-RS. For database access, JPA is the standard. Note that both of these are just standards, with multiple implementations. The easiest way to get implementations would be to just run on a Java EE server like Glassfish. Then you'd typically use EJB components whose service methods are exposed via JAX-RS.

An alternative would be to use the Spring framework as your component architecture, and integrate the JPA and JAX-RS implementation of your choice, to run on a Servlet container like Tomcat or Jetty. This gives you more control over the environment but is more work to get started.

share|improve this answer

The easiest way would be Spring ROO where you can create a CRUD Backend in like 5 Minutes with already intergreated RS

share|improve this answer
Got any links for that? – anaximander Apr 5 at 11:04

Not the answer you're looking for? Browse other questions tagged or ask your own question.