Take a look at the manual - go to http://www.jboss.org/ and click
"Getting Started" and it's the first link. There's a section under
"Advanced Configuration" on creating data sources. In order to link the
data source you create to a data source referenced in your ejb-jar.xml
file, you need to create a jboss.xml file (though if you don't it links
all EJB data sources to the first data source in your configuration).
Aaron
On Wed, 11 Oct 2000, Steve Slatcher wrote:
> I am trying to follow the model in 14.4.1.1 and 14.4.1.2 of the EJB 1.1 spec. It
>doesn't work, and I cannot see why it should.
>
> In the deployment descriptor I associate a JNDI name with a the class DataSource,
> and in the code I get a DataSource object. Fine. But how on earth does the system
> know what database I want to connect to? I can see no place to specify the
> database URL that I would use if I just naively used JDBC from my session bean.
>
> Is that one of the sever-specific things that are not mandated in the spec? Either
> way, please tell me how I do it with jBoss.
>
> Cheers
>
> ===
> Steve Slatcher
>
>
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
>
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]