Great! I'll give it a try for sure :)
On Dec 6, 4:55 pm, Rayne wrote:
> Clojure's Java interop is extremely impressive and straightforward --
> to someone who is somewhat familiar with Java. I don't know Java, but
> I've learned to work with it pretty well just by using Clojure. When I
> started
Clojure's Java interop is extremely impressive and straightforward --
to someone who is somewhat familiar with Java. I don't know Java, but
I've learned to work with it pretty well just by using Clojure. When I
started out, it was extremely difficult, because I couldn't read
javadocs and didn't und
Yeah, thanks. I figured that one out experimenting.
THE GREAT NEWS IS:
I finally got Apache ws-xmlrpc working perfectly with Clojure.
It wasn't so hard after all. Really cool. Works like a charm. I will
be posting tomorrow the entire procedure. Too tired right now :)
On Dec 5, 1:37 am, Mark Rat
Not sure what you are trying to do. If you have an existing java class or
interface that you are trying to extend, you need to specify it. If you are
trying to create a new class, you probably want to look at defrecord.
If extending an existing java interface or class (that is on your classpath
NULL POINTER EXCEPTION!
I was trying to create a handler for the web service above.
It should be the equivalent of (Java):
public class Calculator {
public int add(int i1, int i2) {
return i1 + i2;
}
public int subtract(int
Looks pretty good. Thank you so much.
This does however worry me a little from another point of view.
There's always been a lot of talk about how easy it is to interface
Clojure to Java. Yet, when it comes to a lot of situations (for
instance, when dealing with annotations as in the JAX-WS SOAP we
I guess you should look at XML-RPC2, which has a simpler usage:
http://ws.apache.org/xmlrpc/xmlrpc2/server.html
Regards,
Shantanu
On Dec 4, 10:26 pm, Rock wrote:
> I'm desperately trying to implement an xml-rpc server with Clojure
> (trying to convince the company I work for here in Italy to giv