Beginner to JSON RPC - Confused about downloading libraries

175 views
Skip to first unread message

Ali Sherman

unread,
Mar 25, 2020, 11:00:02 AM3/25/20
to JSON-RPC
Hello,

I'm new to JSON RPC. I am studying computer science in college and currently work at a recreation center. The ui that we use to review customers is very outdated and not user friendly, so I wanted to try updating it. The software currently uses XML RPC, but I'm trying to update the code to JSON RPC. The difficulty that I'm having here is in downloading the necessary files. Since the jackson fastxml is a dependency for JSON RPC, I am trying to add it to my project in eclipse. However, I'm seeing that every time I add a .java class, it is dependent on other .java classes. None of these APIs seem to have .exe files to add to the library build. I'm worried that I'm trying to build these .java libraries manually and that there are some .exe files that I'm not finding somewhere.

1) Am I doing this right? Downloading each .java file separately and adding them individually to my project until I have a complete build?
2) If so, is this to 'speed up' the software and avoid bloat? To the extent that less .java files means less .class files which will give a smaller .exe file in the end

I think this is the largest program I've taken on thus far, and I'm a little confused on how to build and use a bunch of different libraries for a single project. I feel like I've missed something, and I would appreciate if you have any feedback.

Thank you for reading.


pchar...@gmail.com

unread,
Mar 25, 2020, 11:15:19 AM3/25/20
to json...@googlegroups.com

I have not done Java in 10 years but as far as I remember you should be able to manage all those dependencies with the package manager library (Maven).

There is a good chance that the libraries will be available on Maven Central (https://search.maven.org/). I am bit vague on remembering the particular details of Maven itself.

You will find that whatever big project you take on eventually in your career will probably be using some kind of package manager…just to keep people sane.

 

Csharp has Nuget.org,

Python has pypi (sp?)

 

Here is a quick getting started tutorial (https://maven.apache.org/guides/getting-started/maven-in-five-minutes.html)

 

Hope this helps

--
You received this message because you are subscribed to the Google Groups "JSON-RPC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to json-rpc+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/json-rpc/31831d47-043d-4088-9b6d-d4081b45a6df%40googlegroups.com.

Ali Sherman

unread,
Mar 27, 2020, 4:11:54 AM3/27/20
to JSON-RPC
Thank you! The suggestion to use Maven really worked out. It was much easier to organize the libraries.

To unsubscribe from this group and stop receiving emails from it, send an email to json...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages