Hi:
You need jca, which gives you
a) The basic java API, a lot of interfaces, in a jca.jar file.
That's what ant complains about with the missing gov.aps.jca.
b) A JNI implementation of those interfaces,
using the CA client lib from EPICS base,
in some *so or *dll file.
Just jca works fine, but the problem is that it depends on the
JNI implementation, i.e. binary, system-dependent code.
You need to build the JNI part of jca for Win32, Linux, Linux 64-bit,
OSX-on-ppc, OSX-on-intel, for every version of EPICS base that
you want to use.
CAJ provides a pure java implementation, so it replaces (b).
At the SNS, we had some problems with CAJ possibly causing
hangups of CA server threads on IOCs, but the current hope is
that that's been fixed as long as you use the latest jca/caj
and IOCs run R3.14.9.
-Kay
On May 8, 2007, at 15:04 , David Dudley wrote:
I'm trying to configure and use the CAJ library, since I can't be sure
what kind of machine the application will be used on. It can
almost be
guaranteed that whatever machine it is, it won't have EPICS on it, for
sure.
I downloaded caj-1.1.3-src and caj-1.1.3.tar, and am attempting to
figure out how to use it.
From the caj-1.1.3 source directory, I can't get ant to operate
without
giving pages and pages of errors. It looks for package 'gov.aps.jca',
but shows that package does not exist.
Still working on getting use to java, I've been a 'c' programmer for
around 20 years or so.
All I did was go go to the source directory and type 'ant'. Was there
something else I was supposed to do as well?
David
"Matej Sekoranja" <[email protected]> 11/26/2006 1:49 PM
Hi,
sorry for the late reply.
Is there any additional information on utilizing the Jca library
other
than the Tutorial listed? I'd like to use a 'monitor' function to
display
changing data, but there isn't exactly any documentation on it.
There is a series of EPICS training material.
Java and JCA can be found here:
http://www.aps.anl.gov/aod/bcda/epicsgettingstarted/developtools/
java.html
See also CA client library tutorials.
Any help would be appreciated.
The best thing is to look at BasicExample source (found in the
sources). I
attach it anyway.
Matej
<David Dudley.vcf>
- Replies:
- Re: CAJ usage David Dudley
- References:
- Re: CAJ usage David Dudley
- Navigate by Date:
- Prev:
Re: CAJ usage David Dudley
- Next:
Re: CAJ usage J. Lewis Muir
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
<2007>
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: CAJ usage David Dudley
- Next:
Re: CAJ usage David Dudley
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
<2007>
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|