Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Do you know a site that offers a tutorial with sample source code for a 3-tier application (the usual data access layer, business layer and UI layer)?
The simple, readable and intuitive the source code. Best practices that are applied to the code are welcome as well.
Take a look at Appfuse , it's a quick-starter for java web application, provided with different frameworks : Tapestry , Spring MVC / Struts2 /JSF + Hibernate / Hibatis. It's based on a Maven build, all basic configurations done for you...
One of the few 'realistic' sample that come to my mind...
Another one is the Petstore application from sun, and looking for 'petstore download' on Google, you can find stuff that seems interesting (to me anyway, i didn't give it a look :-), like this spring petstore, "an Ajax based application with DWR, Spring and Hibernate"...
Yes, have a look at the Spring MVC step by step example. It's very clear.
The sample application I'm aware of are the following:
The famous Java Pet Store from Sun. In the version I've downloaded, it used a wide range of Java EE technologies, but it didn't use any modern MVC framework.
From the Spring project you have several applications: JPetStore, Pet Clinic and more. All come with the spring download.
The Seam framework has an Hotel Booking application
You can also have a look at the 3 tier open source applications such as Liferay, but bare in mind that they may by very large. I'm not familiar with any that I can recommend, so please google for CRM/ERP/Protals etc. (sourceforge and freshmeat.net might be good sources as well)
Although it is backed by a CMS and not database, Artifactory may also serve as a good example.
Hope these help.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Which ecommerce platform is better in JAVA Broadleaf or apache ofbiz. If there are any better than these two please suggest..
I work for Broadleaf Commerce. One of the key differences is the stack. Broadleaf leverages the Spring framework (e.g. Spring Security, Spring-MVC, and core Spring) along with JPA/Hibernate as the primary underlying architecture.
OfBiz is a popular eCommerce tool designed with all the integrations for Supply Chain Management or ERP based solution. I think broad leaf is a basic eCommerce tool, need to be integrated with all the SCM solutions, ofcouse it is easy to integrate with other tools. DataFile tool of ofBiz is superior for data import and export operations.
There is one company who has completed a benchmark test on some popular Open Source ecommerce platforms, including themselves along with Broadleaf, and Apache OfBiz. I’d say it’s worth checking out. The stats produced are very interesting! Anyways here is the link, and their product is Avetti Commerce: http://www.avetticommerce.com/ecommerce-performance-benchmarking
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am considering building a Java EE based set of services and licensing these services to my clients. While we will aim to make these services generic for any client, reality is that customizations and new services will be needed on a client specific basis.
Likely the stack will be a Java application deployed to the EC2 cloud, possibly leveraging a framework such as Spring.
What architecture would one prescribe to have a hosted application for my clients, but also enable them to build their own custom extensions. Does anyone have technical or business example of a company that has built a hosted SaaS service that is extensible on the platform side?
I haven't done this yet, but AFAIK you could use module systems such as OSGi also on the server side to write modular, extensible server side applications.
Atlassian does this. You basically pay to have even its own source code, as well as a Platform SDK, or even a Managed Instance (this one, however, seems not extensible)
Internally, most of them rely in an OSGi Container (I think its Felix), so it manages dependencies accordingly, as well as DI and Extension Points. Perhaps might be worth it to have a try
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I don't know if I should continue the other post of mine because this is a different question. But the questions are related.
I am looking for web java framework that:
1. will be MVC framework.
2. will be well documented.
3. will allow me use javascript of my own without using the framework modules.
4. will support feature like masterpage in asp.net.
5. will have the ability to create predefined components and use them wherever I need.
Is there something like this?
I appriciate very much examples for those features.
Judging by the tags you chose, it all points to:
Spring Web MVC framework
In my opinion it also satisfies your 5 requirements.
I would recommend using Spring Roo to generate your first project. Roo projects use the technologies that Ralph recommends:
JSPX, with some preconfigured tagx files
Tiles as templating framework
Roo will also setup Hibernate with Mysql, which are the technologies you mentioned in your other post
I can't speak to #4, because I don't know masterpage, but Spring MVC satisfies the other four requirements. I'd recommend it highly.
Be warned that Spring has an MVC framework, but it's much, much more. It's a three-legged stool:
Dependency injection and IoC
Aspect oriented programming AOP
Modules like MVC, persistence with JDBC and ORM, messaging, remoting, security, etc.
I would recommend this setup:
Spring (Spring Core and Spring MVC),
Tiles,
JSPX (the X markes the spot)
Tiles for "support feature like masterpage in asp.net."
JSPX, because you can easyly write Tagx files to define your predefined components.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I need to develop a lightweight web application, it will:
have a simple webgui for administrator to operate;
have interface to invoke background existing modules for functionality implement, let's assume it has shell invoke interface firstly, it is not clear yet.
so my question is do we have any popular and recommendatory lightweight java web application framework? one of my candidate is jboss, do we have the recommendatory jboss version?
we ever done a similar work which use python/flask, i just want to see if any other appropriate java framework.
thanks,
Emre
Take a look at the Play Framework.
If you are not sure, maybe this great answer on question "What is pro and contra of using Play Framework?" may help you.
For a lightweight Python web framework it's hard to beat Flask:
http://flask.pocoo.org/
take a look at apache stripes.
It is lightweight web application framework on the basis of Java5.0 and COC.
you can fastly develop web applications and u will have less maintenance work.
Spring MVC 3 is in my experience the
most flexible
extensible and
speedy web framework around
Spring's main purpose was to introduce Dependency Injection for objects.
Another Java lightweight MVC frameworks is Wicket.
Stripes framework
Lightweight
Action based
Convention over configuration approach
No XML
Smart and fun to use
Much positive feedback (search on SO)
Wonder why Struts has not found place in above list ? Is it too heavy ?
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm working on an open source anonymous decentralized P2P application that will support Twitter-like functionality, you can read more here.
My intention is that the UI will emulate the Twitter UI quite closely, and be accessible through a web-browser communicating with the local app.
I'm therefore looking for a lightweight embeddable web app framework that supports comet (ie. server-initiated modifications to the DOM). It must be lightweight because I need to keep the size of the eventual application as small as possible.
My intention is that most of the UI work will be handled within the web browser, making use of JQuery, and perhaps using Coffeescript instead of Javascript (although I haven't yet made a full decision on this).
Can anyone recommend (GPL compatible) tools/libraries/frameworks for me to look at?
Not sure if you are still working on this since the git activity on the project page is pretty stale. But if you are I would recommend Jetty for your embeddable web app server. It is:
Small
Embeddable
Supports Cometd
Supports Servlets
Throw Vaadin on there for a small, lightweight web development framework and you are g2g.