EPICS Home

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  <20172018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Questions about Java channel access client
From: Mark Rivers <[email protected]>
To: "Wang, Lin" <[email protected]>, "[email protected]" <[email protected]>
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: [email protected] [[email protected]] on behalf of Wang, Lin [[email protected]]
Sent: Wednesday, June 07, 2017 3:55 AM
To: [email protected]
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  <20172018  2019  2020  2021  2022  2023  2024 
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  <20172018  2019  2020  2021  2022  2023  2024