Skip to content Skip to sidebar Skip to footer

Java Framework That Will Not Replace Javascript

I am planning to write a medium scale web application. The server side technologies will include Java, Hibernate, MySQL and the client technologies will include Html, CSS, Javascri

Solution 1:

Component-based frameworks generally provide ready-to-use components, that come with their own JavaScript code. If you don't like this, I would stick with action-based MVC frameworks, which generally don't care about what you use at client-side.

My preferences go to Stripes and Spring MVC, but YMMV.


Solution 2:

I'd recommend the Play! Framework.

It is a MVC based framework and you can use hibernate, work with a MySQL database and it offers templating for easy HTML generation as well as working well with CSS and Javascript (even includes latest JQuery in download). There are also tons of modules you can add to your project to make development faster and easier.

Play 2.0 should be released fairly soon (currently available in beta) which provides support for CoffeeScript and Less CSS (see here) amongst many other new features.

Edit

StackOverflow answer showing how easy it is to create webservices in Play: https://stackoverflow.com/a/4513047/681807


Solution 3:

Well all the framework you have mentioned (struts, spring, wicket) , none of them afraid of javascript. Like in Struts2 and Spring they have provided build in ajax support for developer like me who is more comfortable with serverside development than client side work (ajax/jquery fancy stuff).

Its on individual how he/she is using JS with any existing framework and you are even free to use simple HTML at you client side with whatever JS way you want to apply to your UI.

Framework support to UI is always intended to provide a close integration to the server-side so as to speedup the overall development time.

In Short i can not recommend any framework as that will dependent upon you project requirements which fits perfectly as per your need, but none of the framework will stop you to use JS in the way you want to use.


Post a Comment for "Java Framework That Will Not Replace Javascript"