techpolesen.blogspot.com
Old Tech Per: September 2007
http://techpolesen.blogspot.com/2007_09_01_archive.html
This blog has moved to www.techper.net. Wednesday, September 26, 2007. Coping with Flex Asynchronous Remote Calls - Part II. In my previous post about using modal dialogs to give the illusion of synchronous remote calls in flex. To the user, I showed one. Way of coping with flex remote calls being asynchronous. Is to fully accept the asynchronism of the remote calls, and start designing your application using callbacks instead. Var result : String = remoteService.doServerSideCalculations(42);. What you n...
techpolesen.blogspot.com
Old Tech Per: April 2007
http://techpolesen.blogspot.com/2007_04_01_archive.html
This blog has moved to www.techper.net. Monday, April 23, 2007. Rails in Jetty- deployment as a simple war file. In previous posts ( here. I blogged about deployment of Rails in various ways with a Java developer focus. Some time ago I started looking at JRuby. Again and thought about deployment of Rails on the JVM. As a neat idea. Today, I got around to trying it out for real. I took a real application of mine written in Rails and deployed it as a standalone war. How is that done? At the JRuby wiki.
crashingdaily.wordpress.com
rsync and sudo over SSH | crashingdaily
https://crashingdaily.wordpress.com/2007/06/29/rsync-and-sudo-over-ssh
Rsync and sudo over SSH. June 29, 2007 in Howto. I did some searching and here are some options I found. Option 1. Set NOPASSWD in the /etc/sudoers file. Then use the --rsync-path option to specify the sudo wrapper. Rsync -a -e "ssh" --rsync-path="sudo rsync" crashingdaily@server.remotehost.com:/u02/data pump dir/ /archive. Option 2. For interactive usage, I can pre-activate sudo and then run rsync as in Option 1. Stty -echo; ssh server.remotehost.com sudo -v; stty echo. Su – -c "rsync $*". Option 4....
martincmartin.com
Where are the fast dynamic languages? | Martin C. Martin
https://martincmartin.com/2008/04/03/where-are-the-fast-dynamic-languages
Martin C. Martin. Inspiring Lunatics, Tainting Meats. What I’ve Learned From Programming In Lisp. Should you pursue your PhD? Where are the fast dynamic languages? April 3, 2008. But I also knew, and forgot, Hoare’s dictum that premature optimization is the root of all evil in programming. 8212; Donald Knuth. Something bizarre happened on the Groovy-dev mailing list the other day. Alex Tkachman made what I thought was a simple suggestion:. I suggested the checks could work like assertions:. Even though i...
techpolesen.blogspot.com
Old Tech Per: November 2007
http://techpolesen.blogspot.com/2007_11_01_archive.html
This blog has moved to www.techper.net. Thursday, November 29, 2007. 10 Tips on JPA Domain Modelling. This post is a collection of tips on what I think is good advice, when domain modelling in Java with JPA as ORM mapping technology. Do you agree? Do you have extra advice? Please let me know! Here they come, in no particular order. 1 Put Annotation on Methods, not Attributes. In addition, if you add a getter for some calculated value which has no corresponding attribute, you can mark it @Transient. Doing...
techpolesen.blogspot.com
Old Tech Per: October 2007
http://techpolesen.blogspot.com/2007_10_01_archive.html
This blog has moved to www.techper.net. Wednesday, October 31, 2007. Logging WebService Methods Called in Axis using a Handler. When you look in the access log of a server hosting web services, you are unable to see which web service methods, that are actually called. This is due to the fact that SOAP. Requests are HTTP POST requests, where the method called is a function of the SOAP message posted. If you are using axis. Here is the handler:. Import org.apache.axis.AxisFault;. Handler type="java:com....
techpolesen.blogspot.com
Old Tech Per: March 2007
http://techpolesen.blogspot.com/2007_03_01_archive.html
This blog has moved to www.techper.net. Saturday, March 31, 2007. A Java based ActiveRecord? One of the things I really. Love in the Rails-world is working with ActiveRecord. So I thought, someone most have done this in Java too,. no? Here is a short list of existing projects I found:. But none of them seems to have released anything yet :-(. Easier to work with. We should be able to work around some of these shortcomings while keeping some of the good stuff. Indsendt af Per Olesen. The model I am copyin...
techpolesen.blogspot.com
Old Tech Per: July 2007
http://techpolesen.blogspot.com/2007_07_01_archive.html
This blog has moved to www.techper.net. Friday, July 20, 2007. JRuby runtime initialization and problems with 'require'. I have been battling an issue with JRuby, where I got the following exception when trying to evaluate a ruby script from Java:. Require': no such file to load - rubygems (LoadError). API (which is only part of Java6 and on), but simply programming directly against the JRuby apis. What I was doing was in the line of this:. Public class MyApp {. After diving into the sources. Runtime....
techpolesen.blogspot.com
Old Tech Per: 10 Tips on JPA Domain Modelling
http://techpolesen.blogspot.com/2007/11/10-tips-on-jpa-domain-modelling.html
This blog has moved to www.techper.net. Thursday, November 29, 2007. 10 Tips on JPA Domain Modelling. This post is a collection of tips on what I think is good advice, when domain modelling in Java with JPA as ORM mapping technology. Do you agree? Do you have extra advice? Please let me know! Here they come, in no particular order. 1 Put Annotation on Methods, not Attributes. In addition, if you add a getter for some calculated value which has no corresponding attribute, you can mark it @Transient. Doing...
techpolesen.blogspot.com
Old Tech Per: This Blog Will Continue on TechPer.net
http://techpolesen.blogspot.com/2007/12/this-blog-will-continue-on-techpernet.html
This blog has moved to www.techper.net. Thursday, December 27, 2007. This Blog Will Continue on TechPer.net. I have decided to stop blogging on this Blogger hosted service. My blog will continue on my own domain, www.techper.net. If you have subscribed to my feed through my TechPer FeedBurner URL. There will be no changes for you. In a short while, I will simply switch the feedburner datasource to that of the new domain, and you will get to read posts of the new blog. I have decided not.