-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: confusion about lookup
PostPosted: Tue Jul 19, 2005 1:59 am 
Newbie

Joined: Thu Jul 14, 2005 7:50 am
Posts: 8
hi all, I m really confused about something.
I have been using EJB for my application. Now while using EJB, whenever i add a new bean what i need to do is deploy it on server and generate stubs and so on.

Now my question is, Do i need to deploy my module( in which i m using hibernate -no EJB) to my application server in any manner?

Or i can say my question is how can other modules in my application use the code i m writing using hibernate.

Hope u people understand my problem.

Any suggestions??

Thanx in advance.

Priti


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 19, 2005 5:59 am 
Regular
Regular

Joined: Fri Sep 17, 2004 10:51 am
Posts: 61
Location: Rimini, Italy
Please provide a better description of your architecture. Is it a web application ? What do you mean with 'module' ?
If it's a jar, simply put it in classpath and import your classes. Be sure to inlude all config for hibernate to work.

_________________
--
Marco


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 19, 2005 7:28 am 
Newbie

Joined: Thu Jul 14, 2005 7:50 am
Posts: 8
hello,

Let me explain my query in detail.
say i have a bean ABC. and i have its TOs, DAOs and all other bean related classes in a project ABC.jpx. I have deployed this bean on application server. And by includind the generated jar on client side i can look up my entity bean.

Now I have a few questions related to hibernate.

1. As now I dont have any bean where should I configure my driver and url or i should ask where should i keep my hibernate.properties file(on my server side or client side??)

2. and how can my client code look up to my server side code??

Hope now you get my problem. And i m clear enough!!!

Thank you.
Priti


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.