Why should someone use Javascript frameworks for Java-based backend services? Is there a strong set of pros and cons for this approach?
-
In the Java world, there are several web application frameworks such as Spring, Struts, a few Apache ones such as Wicket, Tapestry and other such as Grails, Play etc. There are also different approaches for UI using JSP, GSP, Template based such as velocity, Freemarker etc. There is also JSF to add to the complexity. There appears to be a problem of plenty these days ...
-
Answer:
All the frameworks you mentioned doesn't give the flexibility JavaScript gives to work with the HTML/CSS. And when you blend it with the model of consuming HTTP APIs exposed from the Java back end, you get reusable components, widgets that doesn't require any dependency on the back end except the API for the data. Javascript is a language that focuses on addressing concerns of a front end development that includes network latency where as all other frameworks you specified focus on computational complexity.
Arun Crypto at Quora Visit the source
Related Q & A:
- Why does Parse use Javascript?Best solution by Stack Overflow
- Why cannot we use static keyword inside a method in java?Best solution by Stack Overflow
- What are pros and cons of making a tattoo?Best solution by Quora
- What are the pros and cons of having a pet rabbit?Best solution by Yahoo! Answers
- What are the pros and cons of a pharmacist?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.