Re: Using blog in java code

36 views
Skip to first unread message

Constantin Berzan

unread,
Jan 6, 2015, 2:42:31 PM1/6/15
to Balasubramaniyan Sundaresan, blog...@googlegroups.com
Hi Balasubramaniyan,

Our mailing list for BLOG users is at
https://groups.google.com/forum/#!forum/blog-user.

To embed BLOG into a larger application, you have two options:

1) Invoke BLOG as an external process, and use the "-o" options to
write the results to a JSON file. This is easier to parse externally
than the default table format that BLOG uses to output results.

2) Download the BLOG source code and integrate it manually into your
Java / Scala application. This will probably require changing some of
the interfaces that BLOG provides, since the current version was not
written with easy embedding in mind.

Hope this helps,
Constantin


On Mon, Jan 5, 2015 at 3:41 PM, Balasubramaniyan Sundaresan
<bal...@live.com> wrote:
> Hello Berzan,
>
> I have recently gone through the blog programming language. I am using it to
> work with one of my superiors for a research project at my university. I
> happen to take the output of blog into a text file and read the distribution
> from a text file. I know this is a bad idea, I saw the jar file along with
> the package I downloaded.
>
> Is there a possibility that I can use the blog.blog-0.9.1.jar file in my
> java code and use blog from inside my java code. Please let me know if this
> is possible, also I am very new to scala.
>
> Pardon my lack of knowledge on scala and blog, as I am very new to this.
> I could not find any forums for my question, awaiting for your generous
> reply..
>
> --
> Best Regards,
> Balasubramaniyan Sundaresan
> Distributed Software Systems
> Informatik, TU Darmstadt
> Email: balasubramani...@stud.tu-darmstadt.de
> Phone: +4917670235463
Reply all
Reply to author
Forward
0 new messages