Remoting Object Service of BlazeDS , is used for making remote procedure calls from Flex applications to Java Server.
Having BlazeDS deployed on an application server (Tomcat is used here) , following steps shows the server and client side coding for a simple scenario where a flex application is used to display instances of Person and [...]
Too many clicks are needed while playing games like farmville. To this automatically, firstly I used a tool named xdotools which generates false keyboard and mouse input. But, since xdotools only supports X11, I switched to Java to have a platform independent program.
java.awt.Robot class can be used to generate false input in Java. You can [...]
While dealing with lambda calculus expression that I mentioned in my previos post, from time to time many paranthesis appears. Exampli gratia: While trying to SKI equivalent of
λx.λy.+ x y,
intermediate expressions like
S (S (K S) (S (K (S (K +))) (S (λx K) (λx x)))) (λx I)
can be encountered. While dealing with such expression text [...]
Define S, K and I as
S x y z = x z (y z)
K x y = x
I x = x
Apply following transformations to lambda calculus expression until the expression becomes free of lambda abstractions and variables.
1) λx.e1 e2 => S (λx e1) (λx e2)
2) λx.x => I
3) λx.c => K c [Here, c should [...]