That is correct db connections are not
serializable and so cannot be used outside the VM
This is why entity beans were invented.
you cannot serialize connections to clients
Thank for ur reply
actually i am having a client application which run
independent of Application Server
my client application connect to application server
and perform various operation including it will
lookup for the datasource and perform many
as it's working fine in weblogic for datasource lookup from client and it does not work in jboss
so i thougt of writiing a bean for connection
and getting the connection object to the clinet
now that's also doesn't support
can u tell me what's the best way to deal with the current situation
Write a server side component (a stateless session bean for instance) that does your lookups and connection handling and acts as a facade to your client.
sorry for troubling u again
i want my client to perform all database operation
independently without any serverside component
my client need to talk directly to the database.
my ejbean should just return a datasource to the client then the client get's connections and do
db operations directly...
do u have any solution for this.