• Post Reply Bookmark Topic Watch Topic
  • New Topic

java application without J2EE/EJB  RSS feed

 
kalpna sharma
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I need to implent an application in java with rmi and hibernate, or web services without j2ee/ejb.

I will appreciate if sombody can suggest me some good book on it.

Thanks,
kalpna
 
gao zhixin
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hibernate in Action is best, but if you have some experience in Enterprise program, you can read the Hibernate reference and tutorial instead.

RMI...How old....you can read the Core JAVA Volume 2
 
Jan Groth
Ranch Hand
Posts: 456
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sounds like spring might be a lightweight solution for your requirements.

chech this book out

jan
 
Anoop Jaloree
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You also need to incorporate web services as you said - arent you talking about introducing a J2EE feature in your app? [SOAP, UDDI, JAX-B etc..]

Spring is essentially a wrapper API over the J2EE API, hence using spring doesnt mean you are bypassing J2EE.

I think what you want to ask is how to give your App a lighweight POJO based anatomy in which as rightly pointed out by fellow folks - Spring, Hibernate are the best solutions.

Spring in Action and Hibernate in Action by Manning are excellent resources. Expert One-on-One J2EE development by Rod Johnson by Wrox is a precursor treatise to Spring framework and gives valuable insights about lighweight POJO based development.
 
kalpna sharma
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a bunch for quick response!

As you have said Hibernate and Spring will be internally using J2EE only. So, if this application should not use J2EE (Servlet, JSP, EJB etc) in anyway then Hibernate should not be used? Please confirm.

Thanks again!
Kalpna
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use Hibernate or Spring without any J2EE components. Or you can write something 100% from scratch. Of course you'll be on your own for some rather complex protocols but maybe that's the whole idea. I wrote an HTTP web server for fun and education so it's certainly possible. I could be tempted to do it again with Spring for dependency injection just to learn Spring.

Why are you not allowed any J2EE stuff? Some kind of technical constraints on the end system or an academic challenge? Using Servlets and JSPs would cut hundreds of hours off the job.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!