Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: RE: JCA problems and questions
From: "Kasemir, Kay" <kasemirk@ornl.gov>
To: Jack Smith <jacksmithvent2009@gmail.com>, Mark Rivers <rivers@cars.uchicago.edu>
Cc: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Wed, 24 Oct 2012 17:00:36 -0400
Hi:

I agree that it's confusing. Here's my understanding:

JCA is the Java library for interacting with Channel Access.
It provides
1) The API for creating a channel, handling the connection, adding a subscription, receiving values, ...
2) An actual implementation for the API, based on invoking the C/C++ Channel Access client library from EPICS 'base' via JNI, the Java native interface.

Any Java program that wants to interact with Channel Access needs part 1) of JCA. It's a bit like the "include" file of a C/C++ program.
To actually work, you used to also need 2), which means: It's no longer pure Java. You must have the JNI library of JCA that was compiled for your operating system.

CAJ replaces part 2) of JCA with a pure Java implementation that works for everybody.


To me,
"JCA with JNI interface to Channel Access"
and
"JCA with CAJ"
are the two basic alternatives that you have.
Maybe there could be a better name for these.

Thanks,
-Kay



________________________________________
From: tech-talk-bounces@aps.anl.gov [tech-talk-bounces@aps.anl.gov] On Behalf Of Jack Smith [jacksmithvent2009@gmail.com]
Sent: Wednesday, October 24, 2012 4:18 PM
To: Mark Rivers
Cc: tech-talk@aps.anl.gov
Subject: Re: JCA problems and questions

Hi,

I always get confused and mess up the names of caj and jca. Could anyone provide a simple explanation of what they stand for and what are their differences so that jca/caj can be easily remembered, not easily messed up. Can someone rename them? Thanks,



Replies:
RE: JCA problems and questions Chu, Paul
References:
JCA problems and questions Mark Rivers
Re: JCA problems and questions Jack Smith

Navigate by Date:
Prev: Re: JCA problems and questions Jack Smith
Next: RE: JCA problems and questions Chu, Paul
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017 
Navigate by Thread:
Prev: Re: JCA problems and questions Jack Smith
Next: RE: JCA problems and questions Chu, Paul
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·