Dynamic website framework suggestions [closed] - java

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
What are the open source java based frameworks that can be used to build a dynamic websites?
The dynamic website should allow users to change content in the site. I am not looking for a portal solution, but something lightweight and customizable.

I would recommend Play! Framework. I have worked with it before and it is pretty easy to learn. Extensive tutorials and documentation are on their website.
Because of Play's extensibility, there are many modules for it, one of which is a lightweight CMS module. I have not used this module, but it sounds like what you might be looking for.

Search about Spring MVC or JSF.

Really every Java web framework can be used to create dynamic sites. That's pretty much the entire point of using Java and such frameworks.
If you only needed to serve static content just Apache would be all you need,
There is a bewildering choice of web frameworks in Java. Everyone will tell you theirs is best and all others are bad.
My 2 cents; JSF is one of the most popular choices, rather easy and has lots of support and resources available for it. It's already part of the standard Java EE library, so in most cases you don't have to download or install anything to get started. Any Java EE implementation (JBoss, Glassfish, Resin, Geronimo, etc etc) will do. The only exception is Tomcat.
While there are other choices that also work, it's hard to go wrong with JSF.

Related

RESTful API with either Tomcat or Node.js? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I am at a decision fork where i have to pick whether to use Tomcat or Node.js in my project and need advice from experts on this.
Some questions that i have here are:
Is Tomcat (Java) or Node.js with Typescript better suited to write a RESTful API which gets values form a Database and has to interact with a another java component?
Does Node.js have unit-testing support?
Is it possible to use websockets with Tomcat for another component of the API which pushes Data to the client?
Is the type system of Java better than the system of Typescript (not all dependencies are available in Typescript (or?) and therefore don’t have types?)?
Tomcat and Node.js are really totally different from each other, so there is no one to one comparison.
While Tomcat is a web server, Node.js is a server side runtime environment - and therein lies all the difference. Java - and consequently the web and application servers supporting it - give an architectural foundation to your application which arguably no other technology can offer. On the other hand, the speed, flexibility and simplicity of JavaScript (and therefore Node.js) is a winner.
So the real question you should be asking is - do you want a robust application with solid foundation or a speedy, flexible solution?
There are also a slew of other factors to consider such as memory, performance, maintainability, and the likes.
Here are some links that might help:
Performance comparison
Java vs. Node.js:
Yes Tomcat Support websocket in tomcat. If you have already some written component in java you should use java.
You can use jersey , spring boot to implement your rest webservices.
If you are working with nosql kind of databases then nodejs could be better bet

Tools for Building a Web Application in Java [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am trying to build a web application for a data management system. I have a year's experience in Java, basic knowledge of SQL, and very little knowledge of anything else.
I have done a lot of reading online and there seems to be endless different ways you can go about building a web app. My question is what is the easiest way for somebody with my sort of experience, and what else do I need to learn. I have been using Eclipse IDE however have now downloaded Netbeans as I am unsure which IDE would be best either.
I am currently reading up on Servlet's, JSP's and HTML and am just trying to understand what I need to learn and use to get started really as I need to have the web app ready in 8 weeks!
I have also read about GlassFish, Ajax, TomCat, Apache etc. but do not really understand how they fit in or which to use.
you can try some of the following approaches:
Download Apache Tomcat. Try to start it up. See if you can understand anything from its sample applications.
For Java webapp, the minimum technologies you need to know are: Servlets, JSP. If you need database access you also need to know about JDBC.
Try to google for CRUD applications (i.e. Create, Read, Update, Delete applications) that use only Servlets and JSP.

Recomended GWT Frameworks for single page application [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
After google around, I have to ask this question on StackOverflow.
There are frameworks around, but most of them are from 2008 2009, unmaintained, multipage or will not work with GWT 2.0
What are the recommended framework should I use for a single page application that will scale most in term of deploy? 1 language is a plus point because GWT is all about 1 language, beside if we tune the server to run Java and serve HTML pages, it will be faster.
But any framework that works and good is okay also.
Thanks :)
In addition to Jay Askren's suggestions, another good framework is gwt-platform, which is a combination of two other good frameworks, gwt-presenter and gwt-dispatch.
I recommend watching this from last year's Google IO. They recommended using the Model-View-Presenter pattern for GWT apps. Here is one implementation of this pattern.
The following from this year's GoogleIO might also be helpful:
http://code.google.com/events/io/2010/sessions/architecting-performance-gwt.html
http://code.google.com/events/io/2010/sessions/architecting-production-gwt.html
I should also mention that GWT is a framework in and of itself. The above are more best practices on how to use the framework.
Have you looked at Sencha GXT? It's a single page framework.
http://www.sencha.com/products/gxt/
I think it's also important to note that GWT 2.1 will include a lot of application framework pieces. From what I've seen so far on the contributor mailing list, it should include:
MVP framework
EventBus integration
PlaceManager for navigation
Data presentation widgets (i.e. data binding)
Validation hooks? (JSR-303 annotations recently committed)
So make sure to check out vanilla GWT 2.1 M2 as well.

Which JavaScript library you recommend to use with Java EE + Struts + iBatis? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Which JavaScript library you recommend to use with Java EE + Struts + iBatis ?
Something like Ext JS, Dojo, frameworks that can be easily integrated with Struts.
There exists a framework that is supposed to tie in nicely with Java Server/Middleware called JSON-RPC
However I have never used it and cannot vouch for it.. Aside from that my favourite framework is cough jQuery
edit after reading more closely, the JSON-RPC is not quite what you are looking for.. but it still might be useful for ya to look into ;)
Here's a good article on Dojo for Java Developers.
You must choose the Javascript library based on what you expect from the library, not based on the server libraries. The tipical JS libraries (Ext JS, JQuery, Prototype, Dojo, YUI, etc) work on the browser and don't have any dependence on server tecnology.
If you are looking for a way to use your server POJO's from javascript take a look at DWR. This library is now part of the dojo foundation, but I've used it with jQuery and Prototype with ease.
would suggest you go for Struts 2. It has built in dojo and also has options to plugin other libraries like prototype, jquery, gwt, yui, etc.
Should be really handy, since you're using Struts as your web layer..

Design of Reporting Services for Java webapp [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
A design question.
I have developed an online test engine web app earlier this year. I have used Java servlets and Freemarker templates and done it entirely following the MVC paradigm.
One big missing feature in the application is that it provides no reporting. The initial design of the application did not consider reporting as part of the core because of various constraints, not necessarily technical. Reporting services as needed now should enable users to get their reports online anytime as well as download them in predefined formats.
The application has grown into a stage where I would not like to put in more code into it and want to isolate the core modules and develop future needs around this core.
I would like to hear a few ideas as to how to go on developing this reporting service around the core app.
Also what reporting tools can I use? I have used Jasper in the past but heard BIRT is good too. Throw your suggestions.
While Jasper is a pretty good choice if you have fairly advanced requirements such as:
Supporting esoteric formats
Parent-child reports
Charts and graphs
But if you really only need to show tabular reports in popular formats such as HTML/PDF/XLS, then you can go a long way with just diplaytag, with a lot less effort than Jasper requires.
A simple tabular report takes about 20 lines of JSP code using displaytag, but the same report requires about 500 lines of XML using Jasper. I'd investigate whether displaytag can meet your requirements before committing to a 'heavyweight reporting solution such as BIRT/Jasper.
I would recommend Jasper because I've used it in the past and found it quite easy to configure and use. It is possible to integrate it into your application without too much trouble.
I have only heard good things about BIRT but never implemented it myself.
I would recommend art: http://art.sourceforge.net/. We are using this tool without any problems. It is still active project so if you add new feature you can add request for it.

Categories