kpturner
I have created my own metadata adapters and data adapters and I can deploy and test them using my adapters.xml document(s).
However, I wish my adapters to make use of platform specific JARs. I am working on an IBMi and wish to use OS400 native data queues using the jt400Native.jar. Do I have to include this in all my own JARs, or can I configure Lightstreamer to load the classes in the jar at start-up (as I can with jWebSocket) , or do I just modify the classpath I use to start the server in the first place?
Mone
Hi,
the server will load all of the jars that are placed in the "lib" folder of your deployed adapter
e.g.:
LIGHTSTREAMER_HOME/adapters/
[INDENT=2]myAdapter/
[INDENT=3]adapters.xml
[INDENT=3]lib/
[INDENT=4]myadapters.jar
[INDENT=4]otherlibrary.jar
also, if you need to share the same jar across different adapter set you can deploy it in the LIGHTSTREAMER_HOME/shared folder.
HTH