I mostly code in PHP and Python.
Java experience: All the basic stuff i learnt in college.
Preferred IDE: Eclipse
I installed hibernate tools for eclipse and i did manage to connect to mysql and got a hello world application up and running.
My Problem:-
I don't know how i am going to start out with small cms for starters using jsp and hibernate.
Try this: JSP_and_Hibernate_Tutorial_using_Eclipse
I would definately use AppFuse for getting your head around this. It will quickly and easily get an application up and running.
Matt Raible provides loads of quick start videos and posts on how to get running as well as different configurations of persistence layer technologies, presentation frameworks etc.
It also has support and tutorials for integration with Eclipse and IntelliJ
Certainly worth a look.
Related
I am new in breezejs and just have to know whether it supports Java Server like Tomcat or not..
I mean I saw 100's of examples using Breeze and Asp.net server but didn't saw any example using Java server, please shed some light on this;
well this was on the breeze FAQ
Based on your documentation, it looks like Breeze is hardwired for .NET. You're even using Visual Studio in your samples.
Yes, our initial launch shows Breeze using Visual Studio with a .NET Entity Framework back-end.
To be clear, Breeze does not require .NET, but this is currently how we have the data provider hooked up through WebAPI. We are planning to support other back-ends and front-ends, as well as show IDEs other than Visual Studio. Your feedback on UserVoice helps us prioritize these features.
Work is well underway on a Java backend for Breeze, using Hibernate and JAX-RS. Please check out breezejs-hibernate.
The NorthBreeze sample is a web application (WAR) that uses the breezejs-hibernate library. We build it with Maven and deploy it on Tomcat. It uses Angular for the UI bits. It's still pretty rough.
Ankur, please add this request to the breeze User Voice ( and vote for it). We take these suggestions seriously when determining what features/samples to work on next.
in your opinion, what is java web framework that most close to or similar to the paradigm of the Ruby on Rails (like convention over configuration, DRY, noXML, etc), but without the need to learn scripting languages like Groovy. And of course have a great documentation and community.
Take a look at Grails which follows the paradigms of Ruby on Rails.
You can take a look to Play Framework it follow MVC and RESTful architectures.
Maybe too late, but have looked at Spring Roo?
This question is a bit old, but this information may still be useful for people looking for a good java framework:
Try ninja framework (http://www.ninjaframework.org). I have tried various java web frameworks and this one was by far the easiest to setup and use. Just follow the tutorial on their page.
Developing with it is very easy, ninja web projects are standard Maven projects so you can open them with any ide that supports Maven. For example, you can open the project with Netbeans, and have the development server running in a commandprompt/terminal window. Any time you save your changes the development server will pickup your changes and restart very quickly.
Or you can use a standard text editor if you want.
Very comfortable to develop with. You can also debug very easily from Netbeans (http://www.ninjaframework.org/documentation/debugging.html)
Note: if you use an ide like netbeans, you dont actually run the project from netbeans, you just edit your changes on the ide and save. The development server picks up the changes automatically.
I think Stripes is what you are after.
http://www.stripesframework.org/display/stripes/Home
You can also take a look at Java on Rails
http://www.javaonrails.net/
I am learning EJB and to do that I bought a book name EJB 3 Developer Guides. I got some understanding on how EJB architecture is and how it works. The book does well in explaining this.
But the examples in the book are all run through ant task. I basically wanted to learn how EJB's are being used in conjunction with Servlets and JSP. Some sort of a web client accessing a JSP page and a servlet getting the service of an EJB bean?
Any idea how can I move forward learning how to use EJB with the Web Tier? Tutorials or links would be better or is there any other book that I could read?
Thanks.
Simple EJB3 Servlet Application
And another option is Netbeans Java EE and Java Web Tutorials -- a best bet, if you are using Netbeans. And if you are not, and you are new to Java, I would highly recommend you Netbeans IDE. It is simple and straight forward.
Important note: if you try running the "Simple EJB3 Servlet Application" from the link about be sure you are using an appropriate version of Glassfish. It might work on JBoss 5.x - but I've never tested it (according to JBoss).
You won't be able to run on the sample application on older versions of JBoss (like 4.2.x) without some workarounds - like ones I described in one of my posts: sample application
The Netbeans tutorial seems fine - but stick to the environment and platform they are describing - otherwise you might quickly discourage and give up.
--Jakub
At my work I'm using C#, Microsoft SQL Server, Windows Server and Microsoft Visual Studio. As you can see I'm totally in the Microsoft world.
But i want to broaden my development knowledge and start with java again. I had java classes at school, but my first development job was in .Net VB and till then I'm stuck in the .Net world. It's not that I don't like .Net. I love Visual Studio in combination with R#, and the SQL Management Studio is also very easy to use and very comfortable.
I have good knowledge of ASP.Net Webforms and started with the release of ASP.NET MVC 2 creating intranet applications using this platform.
I want to create small web applications at home with java and want to know, what tools you, as an experienced java developer, can recommend me.
For the IDE: I've used eclipse in version 3 i think and it was around 2004. Is it still a good free IDE or are there now some better ones? Or would you recommend NetBeans or the community edition of IntelliJ for web development?
Is the equivalent of Asp.Net MVC the Spring Framework in Java?
What else do I have to look for, for a smooth switch from java to .net?
Thanks in advance to everybody...
I would go with Intellij, but that is a personal preference.
As for Spring, it definitely is a useful tool to have in your back pocket or on your resume. It provides most of the stack you'll need to develop an application. The biggest missing part is persistence. It interacts with all the popular persistence frameworks out there, Hibernate being the one I would use, so that isn't really an issue.
If you don't like the Spring web framework, you can with others like Struts2. You can use Struts2 with Spring instead of their own MVC framework. Also, there's Guice, which is a dependency injection framework like Spring, which I like better than Spring.
There's also the Play! framework, which attempts to be a full stack like Rails. I've only looked at it briefly so I don't know too much about it. It looks good, though.
Just my 2 cents.
I am a .NET Developer with about 5 years of web development experience using Microsoft technologies starting with classic ASP to ASP .NET 3.5.
I do have a little background in Java as well and can write/understand Java code very easily. I am looking for resources (online, books) that are compatible with my .NET experience. I am only interested in web development in Java and want to start at intermediate level even if it may require me to look up some details.
What path or resources would you recommend for intermediate .NET web developers to gain equivalent proficiency in Java web development tools?
Get an IDE: IntelliJ (my preference), Eclipse, Netbeans;
Get an application server: Glassfish (my preference; either v2 or v3 Prelude), JBoss or, if you're feeling adventurous, SpringSource dm server;
Get a JDK eg 6u11;
Get a copy of Spring 2.5.6 (or 3.0M2 if you're feeling adventurous);
Get a copy of the Spring reference documentation;
Put the pieces together.
Get yourself a copy of eclipse, and just start reading other people's code, and reading some java docs. The Java website has all the docs online, and they're one of the best language specs I've seen.
Really, if you know C# pretty well, Java should be a cake walk. The languages are pretty similar, so you just need to get to know the different frameworks.
Probably the most helpful book in regards to learning Java's web development framework, Java Server Faces:
Core JSF
- Great examples and explainations throughout on the whole process of using the JSF Framework.
And of course for anyone new to Java I would recommend:
Effective Java
- Covers various design patterns and practices.
In my experience that official Java exams are better than the .Net equivalents, so it may be worth starting there?
Search for a servlet/JSP tutorial (Good, albeit a little old, example here).
You'll get basic knowledge of Java web application development.
Whatever your level is, JSF for Nonbelievers is the best introduction to JSP/JSF.
I'd check out Bitter Java.
It's a book that shows you the wrong way to do things, why it's wrong, and then it shows you the right way.
It pretty much falls in line with the evolution of the j2ee framework. Started with servlets, then moved into jsps, then command pattern, etc.