Re: EJB Wrapper Service

Sasa Bojanic <[email protected]> Thu, 28 Dec 2006 15:03:41 +0100
Newsgroups gmane.comp.java.enhydra.shark
Message-ID <[email protected]>
This is a multi-part message in MIME format...

------------=_1167314676-12964-31
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

if you download shark2.0-beta7 distribution, in EJB folder you'll find 
sharkejb.ear file which contain EJB wrappers for all shark interfaces.
In the same folder, you'll find file "sharkdb-ds.xml" which is 
data-source definition suitable for JBoss. This file contains MySQL as 
datasource definition, so if you want to use everything out of the box, 
you need to create shark database on MySQL and create shark tables using 
scripts coming with shark (you can do it by editing 
configuration.properties file in order to target MySQL shark database 
and to provide a location where MySQL JDBC driver can be found, and then 
by executing configure script), and finally you can adjust 
"sharkdb-ds.xml" if necessary.
If you put these two files in JBoss's server/default/deploy folder, and 
put MySQL JDBC driver into JBoss's server/default/lib, and after that 
start JBoss, you will have Shark EJB wrapper services.

You can also test it using our SwingAdmin application coming with 
Shark2.0-beta7. First, you need to edit Shark.conf file's client 
section, and to set property "ClientType" to EJB (just uncomment 
appropriate entry in Shark.conf). Finally, start SharkAdmin using runSA 
script from bin folder, and log as username:"admin", password: 
"enhydra", and you'll be connected to Shark through EJBs.

These EJB wrappers can be also used on JONAS (maybe with some more 
problems and configuration, but we will solve it for the final version), 
and we plan to have EJB wrappers for Geronimo. If you have experience 
with Geronimo, your help would be highly appreciated since we have much 
trouble with it.

Thanks,
Sasa.

[email protected] wrote:
> Is there any examples for EJB Wrapper service for deploying a new process
> definition, creating process, completing activities etc.
>
> How stable is the EJB wrapper at the moment? I can invest some time to
> help developing and testing, so pointing me to TODO's can help.
>
>
> Thanks.
>
>   
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the [email protected] mailing list.
> To unsubscribe: mailto:[email protected]
> For general help: mailto:[email protected]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>   



------------=_1167314676-12964-31
Content-Type: text/plain; name="message-footer.txt"
Content-Disposition: inline; filename="message-footer.txt"
Content-Transfer-Encoding: 8bit


--
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

------------=_1167314676-12964-31--