• Post Reply Bookmark Topic Watch Topic
  • New Topic

maven simple web/webservices/ejb/spring/hibernate junit application  RSS feed

 
Ranch Hand
Posts: 536
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I would like to create simple web/webservices/ejb/spring/hibernate application with some simple junit testing using maven so that i do not have to import all the libraries my self rather depend on POM file. Can you please point me to good video step by step tutorials, resources to get started with maven and creating applications. please advise.
 
Saloon Keeper
Posts: 18800
74
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that this is a bit beyond "beginning" Java, actually, That's some ambitious stuff there,

I don't care for videos myself. I prefer reading. So I'm not a good source on that. But I think that if you concentrate on "Spring hibernate" and/or "Spring data JPA" that you might find some good resources. Especially from springsource.com, which is where it all comes from.

An all-in-one resource for what you want is not going to be easy to find, but webservices are programmed pretty much the same with or without Spring data persistence, so you can learn that independently and combine the two. Of course, if you're looking for Spring webservices, that should also be covered at the springsource site.

JUnit is also more or less independent of the other systems. Basic JUnit only unit-tests logic, however. If you're ambitious and want to test database functions, you'd need something like dbUnit - which I use, since it can check my SQL/JPQL in isolation without running the actual app. Docs on that stuff are more of a problem, though.

Then there's Maven. When you have that many independent subsystems involved, you frequently end up with "Dependency Hell", where you not only have to be careful of what version of Framework B you're using with Framework A, but each framework may itself pull in potentially conflicting versions of sub-dependencies (slf4j has been a particular nuisance for me). Once you get to that point, ask us on the Maven/Ant forum.
 
sai rama krishna
Ranch Hand
Posts: 536
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
maven main purpose is to reduce the set up time to build and run the complex applications right by taking care of all dependencies. But i never successful in creating any of these kind of applications in few minutes using IDEs like eclipse, RSA which supposed to be very faster.

i end up downloading maven setting up maven home then errors then search for some sample project in internet etc all big tidious days together project.

may be myeclipse is solution where i can have lot of stuff bundled together. please advise
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!