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'm new to google appengine and java webprogramming (jsp/servlets/frameworks) (not to webprogramming or java). I was wondering if appengine supported java frameworks and, if so, which of them are recomandable? Are there any frameworks that support authentication?
Thanks
A Google employee linked to the following information on a mailing list:
While we do not support the entirety of the Java EE specification, many of its individual components are supported. These include:
Java Data Objects (JDO) -- notes
Java Persistence API (JPA) -- notes
Java Server Faces (JSF) 1.1 - 2.0
Java Server Pages (JSP) + JSTL
Java Servlet API 2.4 -- notes
JavaBeans™ Activation Framework (JAF)
Java Architecture for XML Binding (JAXB)
Java API for XML Web Services (JAX-WS)
JavaMail -- notes
XML processing APIs including DOM, SAX, and XSLT
Gaelyk is a framework designed specifically to support applications written for the GAE. However it's not a Java framework, it's a Groovy framework. However, Groovy the language is almost a strict superset of Java, so if you know Java, you should find it very easy to learn. In fact, it's quite likely that if you use Gaelyk you can write most/all of your code in Java (though I wouldn't recommend this), because most Groovy libraries/framework work with either Groovy or Java code.
The Groovy Web Console is built using Gaelyk. It's an app that allows you to run Groovy code in a webpage.
Jello-framework is a new Java framework for Google App Engine.
According to it's site it is an End-to-End Java framework including comprehensive Data Authorization model, a powerful RESTful engine, and out-of-the-box UI views.
Related
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
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.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
i want to develop a big web application in Google App engine, but I don't know which framework to use in order to obtain the MVC Model. I prefer to use Spring MVC, but I read that several problems with GAE. Another option would be to use django with python but I have never used that. What framework or option do you recommend? Are there other frameworks?
Greetings
You should check out web2py -- it's a full-stack Python MVC framework that's very easy to set up, learn, and use. It was designed to run on Google App Engine out of the box, and there's a whole section in the online book dedicated to GAE (there are also other references throughout the book discussing a few special considerations when developing for GAE). There's even a "Deploy on Google App Engine" button in the web2py browser-based IDE (see the IDE demo home page and GAE deployment interface).
Your web2py GAE apps will also be portable -- you can deploy them on other platforms (e.g., a Linux VPS) without changing your code (though you may want to make some adjustments once you're off GAE and no longer subject to its limitations).
If you have any questions, you'll get lots of help from the mailing list.
I've used Stripes on Google App Engine with success and pleasure. It's a simple yet really powerful MVC stack, very easy to learn and use, and with great documentation. I've been able to integrate it with Guide (for dependency injection) and Sitemesh (for page templating). If you're interested, the code for the application I developed is available at http://code.google.com/p/memwords/.
Django is a best framework for projects without incredible high load, but GAE supported by a very old version.
Try to use Pycharm for editing GAE-applications. This is already usable IDE with active development
Take a look at Tornado, it's a scalable, non-blocking web framework in python and it's simpler and easier to develop in than Django.
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
I'm trying to access a soap webservice from a jsp page. I need something simple and lightweight as this is a mockup.
Thanks in advance.
If you have Java 6 or newer, you could use the built-in JAX-WS implementation. Sun has a guide on how to use it to build services. It appears that the client implementation is in Part 2.
Although they show how to generate the webservices client using the NetBeans IDE, you can also use the wsimport command-line client to do it, which is in the Java bin folder.
I believe the Eclipse SoapUI plugin can also generate JAX-WS web service artifacts.
I think Apache CXF and its ability to code generation could be the easier way in Java. Were you to use Groovy and GSP, you could use GroovyWS, which relies upon CXF under the hood, and allows litteraly no-brainer call to web-services (which is by the way possible in most of the cases thanks to support for scripting languages of JVM).
While Java6 has a built-in webservice implementation, it is, in my opinion, overly complex and hard to use. My preference would be for Spring-WS, which is leightweight and easier to use.
u can use spring's functionality. look at the section "17.5.2. Accessing web services using JAX-RPC" # http://static.springsource.org/spring/docs/2.5.6/reference/remoting.html.
Or if you are not using spring, then generate stubs using the tooling provided by ur Java EE SDK to invoke the service
I would use JAX-WS.
For web-service, I suggest Apache's Axis2 Engine. It's opnesource, you've the source so that you can learn more....
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..