[kepler-dev] Actor in Java using new Classes

Matt Jones jones at nceas.ucsb.edu
Mon Jul 12 14:27:56 PDT 2010


The best way is to create a module for your actor, which then allows you to
include 3rd party jar files in lib/jar, and when you install the module in
Kepler, it will have access to the jars you need.

See the Kepler build documentation on how to create new modules.  Once they
are built and published, the modules will be listed in the Kepler Module
Manager and can be installed and run on top of Kepler.

There are already existing web service actors that use the AXIS libraries,
so those jars exist and you might look into modifying or depending on the
existing web service actor modules -- I forget where they are located, but
Dan Crawl can probably provide more specific guidance.

Matt

On Mon, Jul 12, 2010 at 12:48 PM, Michal Owsiak <michalo at man.poznan.pl>wrote:

> You can put library that contains org.apache.axis2.* into lib/jar within
> Kepler and it should work fine.
>
> Cheers
>
> Michal
>
> > Well...
> >
> > I was developing an actor that uses ...
> >
> > org.apache.axis2.*;
> >
> > ...classes.
> >
> > I think that this is not default from Kepler (or Ptolemy) and I think
> that
> > these classes help me to send messages via HTTP to ... somewhere!
> > I would like to find a way to use this actor in any Kepler.
> > I mean, I can
> > Develop my actor in Eclipse,
> > Download Kepler in Eclipse (as the tutorial suggests),
> > Run Kepler with my Actor,
> > Instantiate the Actor,
> > Generate KAR,
> > And share my actor with my friends...
> >
> > Will that work for me? (Should the "org.apache.axis.*" package be in my
> > project?)
> > I just dont know how to do that..
> >
> > Thanks,
> > Ivens
> >
> >
> >
> > On Mon, Jul 12, 2010 at 5:25 PM, Michal Owsiak <michalo at man.poznan.pl
> >wrote:
> >
> >> You can always use object Adapter pattern and call your object's methods
> >> from the simple "Hello World like" actor within Kepler.
> >>
> >> Can you specify in details what do you want to achieve?
> >>
> >> Michal
> >>
> >>> Hi,
> >>>
> >>> I created an Java Actor that uses non-Kepler and non-Ptolemy classes.
> >>> What can I do to instantiate that actor in Kepler?
> >>>
> >>> Thanks,
> >>> Ivens
> >>>
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> Kepler-dev mailing list
> >>> Kepler-dev at kepler-project.org
> >>> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
> >>
> >>
> >> --
> >> Michal Owsiak <michal.owsiak at man.poznan.pl>
> >>
> >> Institute of Bioorganic Chemistry PAS
> >> Poznan Supercomputing and Networking Center
> >> Noskowskiego 12/14, 61-704 Poznan, POLAND
> >>
> >> http://www.man.poznan.pl
> >> _______________________________________________
> >> Kepler-dev mailing list
> >> Kepler-dev at kepler-project.org
> >> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
> >>
> >
> >
> >
> > _______________________________________________
> > Kepler-dev mailing list
> > Kepler-dev at kepler-project.org
> > http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
>
>
> --
> Michal Owsiak <michal.owsiak at man.poznan.pl>
>
> Institute of Bioorganic Chemistry PAS
> Poznan Supercomputing and Networking Center
> Noskowskiego 12/14, 61-704 Poznan, POLAND
>
> http://www.man.poznan.pl
> _______________________________________________
> Kepler-dev mailing list
> Kepler-dev at kepler-project.org
> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercury.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20100712/4c6704b8/attachment-0001.html>


More information about the Kepler-dev mailing list