geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geir Magnusson Jr <g...@4quarters.com>
Subject Re: sorry for spamming the list -- retrieving the datasource
Date Thu, 20 Oct 2005 12:36:56 GMT
Tyler,

Might I suggest you join us over on the dev list?  :)

geir

On Oct 20, 2005, at 1:19 PM, <tbot55@yahoo.com> <tbot55@yahoo.com>  
wrote:

> OK, I can verify users against the database using the
> SQLLoginModule. I've created a servlet (my first one
> ever!) that takes in the user information and stores
> it into the same table of the database, and adds an
> entry to the groups table, too. They can then go to
> the login page, login and they even verify! Cool! Just
> what I wanted!
>
> OK, so David Jencks told me about using:
>
>> DataSource ds = (DataSource)kernel.invoke(mcfName,
>> "$getResource");
>>
>
> to get the datasource, essentially get the database
> connection:
>  - Now how would I get a handle to the kernel from the
> SQLLoginModule?
>    - Is it statically defined somewhere?
>  - What is mcfName supposed to be, and what is
> $getResource supposed to be?
>
> This is my current status. I'd like to make my
> application better by doing as David Jencks has
> suggested, if at all possible.
>
> Thanks!
> Tyler
>
>
>
>
> __________________________________
> Yahoo! Mail - PC Magazine Editors' Choice 2005
> http://mail.yahoo.com
>
>

-- 
Geir Magnusson Jr                                  +1-203-665-6437
geir@optonline.net



Mime
View raw message