question

Upvotes
Accepted
1 0 1 2

How to connect to the RDMFieldDictionary on the TREP server through a windows service?

elektronrefinitiv-realtimetreprdm
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

This question is monitored by Veerapath.

@sachin

Thank you for your participation in the forum.

Are any of the replies below satisfactory in resolving your query?

If yes please click the 'Accept' text next to the most appropriate reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
1.5k 5 6 7

The data dictionary (represented by class RDMFieldDictionary) is just a piece of data which you can download from the TREP server or you can load it from a local file. Thus, the data dictionary is not something you "connect to". Therefore I'm confused by your choice of words.

Secondly your question about how to execute something as a Windows service is very broad. You haven't specified which TREP API you're using, but I'm guessing it is one of the Java APIs (correct?). In this case the question is "how to run a Java application as a Windows service". This has nothing to do specifically with the API but relates to Java in general or even to Windows in general (java.exe is really just like any other executable on a Windows machine). You can Google for it. There are many, many solutions out there to address this problem. Many people (used to) use the so called Java Service Wrapper from Tanuki but since they changed their license it has become somewhat less popular. Anyway, there are many alternatives.

If this was not the answer you are looking for then perhaps you can elaborate a bit. You've asked a question where you've crammed everything into the title of the question. There's a lot of room for detailing your question.

Kind regards

Lars@Addicticks

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.