I am new to Java web. Can anyone recommend some useful and efficient web framework to create UI and develop the code using Java? I am a core Java developer.
UPDATED
Thank you for your guidance guys i am planning to go with GWT ..and once again Thankyou...
Java Web Frameworks might not help you in designing UI, in real sense. You might need to look at JavaScript frameworks for that, i.e. YUI, jQuery, Scriptaculous, extJS etc..
However, Wicket and Stripes, are good among Java Web Frameworks for rapid development. Found a related thread about mostly used Java Web Frameworks.
You may use GWT ( http://code.google.com/webtoolkit/ ). This will allow you to create most of your UI using Java only.
Vaadin (www.vaadin.com) may be one to try.
You can use Adobe Flex (licensed) and integrate it with Java. It provides rich UI toolkit.
I would also recommend GWT. Not only for client side possibilities, but also for integration in IDE - Eclipse plugin, Netbeans plugin (GWT4NB), client-server capabilities with RPC helps to use a lot of already done work (java libraries) on server side.
Integration with Tomcat or another servlet container is of course also the main funcionality.
Why should there be problems with deploying GWT in Tomcat?
Related
I have been trying for the past week or so to wrap my head around how I would go about creating a web application using java. I have looked into many services such as Vaadin, GWT, and CUBA, but because I don't really know which I need I haven't had much luck. Here is what I need:
Web application framework in java (I don't know HTML or Javascript)
Ability to use polymer elements
I would also prefer a minimized use of XML files, but I could work with them if need be.
The Java framework for web development is J2EE. It provides a Web Container to run web application (.war file) as well as other stuff.
Web application can be servlet, JSP etc.
If you are not familiar with Java Web Application, you may want to start with using Eclipse. The following video shows how to use eclipse to build a project for web application
https://www.youtube.com/watch?v=Av6zh817QEc
Since one criteria is to use Polymer I recommend having a look at
gwtmaterialdesign
there are already a few tutorials how to get started and also ready to use templates.
Anyway I believe that you've to dig a little into GWT ...
I normally do my web development in java using wicket or php building my UI using zurb foundation. Recently though I was asked to do some development using GWT. I am coming up to speed but am wondering if there is a way to add in a front-end framework like foundation. I found a bootstrap implementation here and am wondering if creating such a wrapper is the only way to do something like this.
There's a #JsInterop in GWT 2.8.0 - Something that should ease the integration between native JavaScript frameworks and GWT. If you want to import a widget library yourself - this should be the way.
Also you can just access your JS-widget through JSNI (but having lots of js code kills the idea of using GWT if you ask me)
Another way - Use existing GWT frameworks: Sencha GXT, Vaadin and maybe SmartGWT Also check the jQuery~ish library for GWT if you like your selectors https://github.com/ArcBees/gwtquery
As stated in the question, I am looking for a Java-based (hopefully that does not require a full application server) event-based web applications development framework.
I have tried Vaadin, it was driving me insane. ZK Framework seems interesting, but it is pretty complex and there are no good examples of complex MVVC applications I know of, even though MVVC is the "way to go" in this framework.
Preferably, the framework I am looking for would be as much as possible similar to Android API, in the sense that the API is really well designed and that one can build very complex applications with it (i.e. CRUD interface within a CRUD, within a CRUD, with everything working as expected).
Another thing which we need is that the framework can be used not just for building business application, but also that web frontend can be built on top of it (even if special controls/widgets are needed).
Any ideas?
You can try GWT. Google Web toolkit is powerful tool for creating rich web application using Java as development language and eclipse as IDE. GWT provide cross browser ability and boilerplate code, so it is easy to bring rich AJAX based widgets. GWT is nice when you really need rich behavior capabilities on your client (GMail-like application).
It works very well with CRUD operation.
If you want to avoid "server-side only" frameworks you may have also a look at Apache Wicket as an alternative to JSF
I have been using PHP (OOP) with various Frameworks for all my webdevelopment projects for the last few years. Next year I'll have to learn Java as part of CS university course, so I thought it may be a good idea to switch to Java for some of my smaller webdevelopment projects, so that I can get to know Java in advance.
What do I need to use Java for backend web development? What IDE/Server software/etc. should I use? What frameworks are available and which documentations could one recommend?
I know this is strictly not a Stackoverflow question, but I'd really like to hear the opinion of the very professional community here at Stackoverflow!
The web development component of Java is called Java EE. You should look into that.
As IDE you can use Eclipse, Netbeans, etc. (you can download versions that are specifically aimed at Java EE development, with bundled servers like GlassFish or Tomcat).
Use all of these technologies and learn what the terms mean: Servlet, JSP, JSTL, Filter, Tag library (create your own).
A very popular framework is Spring. Spring Core and Spring MVC has recreated most of the Java EE components but in a way that is easier to use.
The DWR library makes AJAX very easy.
Learn how to use Spring ORM, Hibernate or JPA.
I also just want to add my own answere to show what I choose in the end to work with:
IDE: NetBeans
Framework Play! Framework
Is any such frameworks we can build on ?
It should includes good-looking user-interface.
One framework to build a complete application.
i used Vaadin that is nice and easy
https://vaadin.com/home
There are plenty and all have some good parts people love about. Here your main concerns seems to build a nice UI. Then, I suppose, you need something like jQuery-UI/ZK/YUI or something in that area. The popular Java Web Frameworks will do little help in that regards.
After deciding on any of the UI frameworks, you can choose any popular web framework, consult your team/developers here. And look at this thread about Most Common Java Web Frameworks.
GWT, Icefaces, Richfaces, JavaServer Faces. There are many more you can search on the internet.
Using one framework to build the complete application depends on the type of application you are building. I will suggest the use of Java Server Faces (JSF).