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  2012  2013  2014  2015  2016  <2017 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
<== Date ==> <== Thread ==>

Subject: RE: Questions about Java channel access client
From: Mark Rivers <rivers@cars.uchicago.edu>
To: "Wang, Lin" <wanglin@ihep.ac.cn>, "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Wed, 7 Jun 2017 11:10:06 +0000
Hi Lin,

I just looked at the JCAE code on Github.  Its documentation says:

"JCAE is an easy to use ChannelAccess library abstracting the complexity of the JCA and CAJ library and bringing ChannelAccess into the Java domain (i.e. use of Java types)."

If you look in the code, for example CaServer.java it uses JCA:
import gov.aps.jca.CAException;
import gov.aps.jca.JCALibrary;
import gov.aps.jca.cas.ProcessVariable;
import gov.aps.jca.cas.ServerContext;
import gov.aps.jca.configuration.DefaultConfiguration;

So JCAE provides an abstraction and easier to use interface, but it does not replace JCA/CAJ.   It handles clients and servers.

CA is client only and does not depend on JCA/CAJ.  It is for clients only.

Mark

________________________________________
From: tech-talk-bounces@aps.anl.gov [tech-talk-bounces@aps.anl.gov] on behalf of Wang, Lin [wanglin@ihep.ac.cn]
Sent: Wednesday, June 07, 2017 3:55 AM
To: tech-talk@aps.anl.gov
Subject: Questions about Java channel access client

Dear all,
We need to develop the facility status web UI using Java for CSNS, the web UI will get data from live PVs, and we are now considering which Java channel access client library to use.

On the EPICS official website, the following ones are mentioned.

CAJ: Pure Java Channel Access Client (SF)
JCA: Channel Access client for Java using JNI (SF) (original at APS/BCDA)
CA: Another pure Java Channel Access client implementation (Github)
JCAE: Java Channel Access Extensions library (Github)

So my questions are as follows:
1. Are JCA and CAJ already obsolete? I ask because most documentations for them do not seem to be available anymore. Also, they are not moved to github like other active maintained projects.
2. Are CA and JCAE the replacement or improvement of JCA/CAJ?
3. For CA and JCAE, which one will you recommend?


Thanks,
Lin

Replies:
Re: Questions about Java channel access client Ebner Simon Gregor (PSI)
References:
Questions about Java channel access client Wang, Lin

Navigate by Date:
Prev: Questions about Java channel access client Wang, Lin
Next: Re: Questions about Java channel access client Ebner Simon Gregor (PSI)
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
Navigate by Thread:
Prev: Questions about Java channel access client Wang, Lin
Next: Re: Questions about Java channel access client Ebner Simon Gregor (PSI)
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
ANJ, 07 Jun 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·