Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Interfacing with Java...

8 views
Skip to first unread message

Robert Hicks

unread,
Jun 12, 2007, 12:23:01 PM6/12/07
to
Would you use TclBlend or Jacl and why?

Robert

Larry W. Virden

unread,
Jun 12, 2007, 1:14:24 PM6/12/07
to
On Jun 12, 12:23 pm, Robert Hicks <sigz...@gmail.com> wrote:
> Would you use TclBlend or Jacl and why?

Well, I don't program in Java, so Jacl would be out. I have built
tclblend a few times over the years. But i never really had a real
need for it, so I didn't end up using it.

Too bad that tclblend doesn't end up in activetcl - particularly since
lately it seems that activetcl is shipping with threads enabled. that
would at least give it a higher distribution.

I would use tclblend if there were some sort of java class that I
needed for which I couldn't find a c or tcl extension counterpart.

Georgios Petasis

unread,
Jun 12, 2007, 1:46:59 PM6/12/07
to Robert Hicks
O/H Robert Hicks έγραψε:

> Would you use TclBlend or Jacl and why?
>
> Robert
>

I do use TclBlend in an LGPL application of mine, to enable writting
plugins in Java for that application (which also supports plugins in c,
c++, python & perl). I also wish this was in ActiveTcl, because it is
difficult to compile it, especially with stubs enabled :-)

I have never used Jacl though...

George

Cameron Laird

unread,
Jun 12, 2007, 2:42:57 PM6/12/07
to
In article <1181665381.8...@o11g2000prd.googlegroups.com>,

Robert Hicks <sig...@gmail.com> wrote:
>Would you use TclBlend or Jacl and why?
>
>Robert
>

Sturgeon liver.

I'll be more explicit: both TclBlend and Jacl have their place.
What does "Interfacing with Java" mean to you? Whether to use
TclBlend or Jacl depends crucially on that answer.

With a gun held to my head, I'd conjecture that TclBlend is more
likely to match your situation.

Patrick Finnegan

unread,
Jun 14, 2007, 4:40:50 AM6/14/07
to
On Jun 12, 5:23 pm, Robert Hicks <sigz...@gmail.com> wrote:
> Would you use TclBlend or Jacl and why?
>
> Robert

JDBC, Hibernate, JMS.

http://www.patrickfinnegan.com/


Donal K. Fellows

unread,
Jun 14, 2007, 8:18:13 AM6/14/07
to
Georgios Petasis wrote:
> I have never used Jacl though...

Jacl is pretty easy to use, but only supports a (large) subset of the
things that TclBlend does.

Donal.

Neil Madden

unread,
Jun 14, 2007, 9:36:34 AM6/14/07
to
Robert Hicks wrote:
> Would you use TclBlend or Jacl and why?

Do you mean would I use either of them, or which one would I use to
interface with Java? The answer the first question is "yes", and to the
second is "it depends".

TclBlend connects a JVM to a (C) Tcl process so that Tcl/C code can call
Java code and vice-versa. Jacl on the other hand is a port of the Tcl
interpreter to Java (lacking a few more recent features, but generally
good enough).

-- Neil

0 new messages