As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I want to get my feet wet with Spring/Hibernate. But I think I move along faster and am more motivated if I am working with code rather than just reading a book chapter by chapter.
Does anyone have any good ideas for a home project to work on to learn these technologies? Any exercises that you might have worked on and thought useful?
Or perhaps you know of a book/tutorial that is based on a single project and walks you through it?
AppFuse is a Spring & Hibernate app designed to be used as skeleton for new projects. Install it, run maven, you have a working project you can study, inspect, debug, modify or add to as you wish. I've worked on a couple of enterprise apps that started as AppFuse.
I hope you would have some existing applications, previously done with different tech and framework. The best is to implement those with Hibernate and Spring.
I suggest using Appfuse, too, as tpdi does. A couple of details:
Use "Spring MVC Basic" project;
start with the Quickstart, and stick to it;
when you're confident enough, go deeper with each technology / layer.
You will find yourself digging in documentation, but with an already working project. Appfuse ha very few "special" classes & utilities, once you master it you can anytime start from scratch... but it's easier with it ;)
You need something simple but not trivial and complex but not complicated.
Try making a timetabling system or calendar
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I am learning java(J2EE) programming language these days. I wants to create a web-site having features where user can login, logout, post there comment and other features with time using java technology just as a hobby project.
But I don't have any idea from where to begin. It would be very helpful if some one just give some starting guidelines and tools needed.
Thanks
If this is just for fun with no deadline, then I encourage you to go as low-level as you can by making servlets and jsp pages, and getting them to work with tomcat. Once you can get some hello world pages working, then start learning about other complementary technologies like Struts, and Hibernate, and the problems that they solve and the complexity that they introduce. Try to master one technology at a time (e.g. servlets) before going on to the next one. This way you can understand how technologies relate to each other and can avoid trying to climb multiple learning curves simultaneously.
You can have a look at this tutorial. It pretty much explains everything that you need to know to build a website. Hope it might be of your help.
You could start by learning to use the reference web framework which is JavaServerFaces.
Take a look here.
Hope it helps.
Why not try GWT ?
It's a top-level web toolkit (based on RPC), full-Java, easy to learn, intuitive, and well-documented.
Try this tutorial http://netbeans.org/kb/docs/javaee/ecommerce/intro.html
When I was learning J2EE this tutorial was very helpful
This is good video tutorial http://www.vtc.com/products/J2EE-Java-2-Enterprise-Edition-tutorials.htm
Look at this Learning Trail for Java Web Development?
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm trying to assemble a workshop on OOP using Java and one of the things I want to try is to do a sort of autopsy of an application.
The ideia is to show the advantages os OOP through a real-life example of one, or more, complex applications.
My question is: can you sugest a good open-source java project, that is currently under development, and as a bonus is a application that is useful for college students.
Thanks in advance
Ricardo Gomes
This may be a stretch, but if your goal is to get students engaged it may not be.
Take a look at IBM's Robocode. It's an open source Java programming game. You could build / download some existing bots and do your autopsy on them. You could also implement a bot in a very non-OOP manor and refactor it into something more OO.
Do not use Eclipse. That thing is gigantic. It would take an experienced programmer a couple of months just to figure out how it all fits together.
How about HSQLDB? It's a mature project that's used in the real world, and it's fairly complex - but it's also limited in what it tries to do, so the complexity is still manageable.
You can probably look here: http://java-source.net/
My personal one would be something like Eclipse, which everyone uses, works well (enough), is very extensible, and written in Java. But of-course, that's a huge application
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 12 years ago.
What is the preferred free open source project management and SCM tool combination for working on multiple java based projects?
This must be something that has been answered on here before but i couldnt find a good one.
Im working with a couple people on two different proof-of-concept web app projects and have been doing everything together so far. We are about to the point where we would like to utilize some source control code management software as well as a compatable project management tool. We are considering Redmine with SVN, would like to know what the preferences of some of you guys out there were before we were forced to do a bunch of analytical comparisons.
Anyway, this seems like the type of questions that must have been ask before, so if someone could add their thoughts or point me in the right direction, it would be much appreciated.
Thanks!!!
PS: these projects will ultimately be ported to first android then iphone, if that carries any weight with your preferences
similar stack overflow question
We are using Atlassian suite (Confluence/JIRA + JIRA Studio) and are quite happy about it. See www.atlassian.com (no affiliation, just like the product).
svn is the easyest to use and git is very powerfull
I am currently using Trac + Git back-end for a number of projects.
You definitely want something that handles refactoring better than SVN for Java. In SVN, it is a pain to, say, change the package for a class; Git will auto-detect the change.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have a client currently thinking about using SeeBeyond / Sun's JCAPS product, does anyone on SO have any positive or negative experiences using / developing for it ?
SeeBeyond/JCAPS might not have a future now that Oracle has bought Sun.
JCAPS 6 is quite convenient for Integration problematic (hospital in my case); however the design pattern used here (Message routing) might be a bit complicated to set up from scratch.
JCAPS 6 is also far better, easier, faster ... than it's ancestor eGate:)
I done JCAPS for a while now, If you try using JDeveloper it may be harder since you need to set up a lot of other stuff rather than just code for your needs. For example like ant build and also apache web service.
If you focus on developing a fast integration, JCAPS would be better. But then again, you still need to do some performance tuning before it is really good. Not so sure about TIBCO since they are well known also.
maybe rather look into using JDeveloper. Its user interface is very similar to jcaps, and very easy to use.
As far as developing SOA solutions go, Java CAPS is very useful.
However, Oracle's plan for this product is not that clear. They said they would not have any new feature releases; instead, they will have only maintenance releases. They are focusing on Weblogic SOA product suit.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
.NET has codeplex for good sample applications to understand best practices. In Java, the first level of difficulty lies in finding a project with the frameworks you are interested to see implemented. In any case I've been unsuccessful in finding sample applications.
SourceForge.NET has many, but a lot of them are incomplete. Many other samples I find are only covering a CRUD - like Spring web site provides a CRUD, struts 2 provides a CRUD and I found some more here: http://www.learntechnology.net/content/main.jsp
None of them cover an application with decent level of complexity. I'm sure there are such projects, it's just my inability to find them.
Can someone provide the key for the treasure :-)
Edit: I got a comment asking me for specifics, so here it is:
I'm looking for a web application, built with a framework like Struts 2, Spring MVC (any action framework basically), Hibernate / Plain JDBC / JDBC templates in Spring at DAL, and no EJB's please!!
An application like bug tracker, blog template, inventory management etc.. anything that is non-trivial.
a good starting point might be appfuse it is really a sort of boot strap your project kinda thing. Make sure you go for the 'full-source' option at the end of the instructions.
As for features:
Security, with user and admin roles
Sign up
Email templates
How about the Java pet store reference implementation from the J2EE blueprints?
I guess the following link may be useful. It explains how to go about implementing a project using domain driven design
http://dddsample.sourceforge.net/index.html