You don’t need to install Tomcat, JBoss or any other web server in order to run a Java web application (.war file)! If your project is configured with a Maven pom.xml and the module has <packaging>war</packaging>, you can just add this little piece of XML inside the pom’s <plugins> tag: <plugin> <groupId>net.sf.alchim</groupId> <artifactId>winstone-maven-plugin</artifactId> <executions> <execution> [...]
Executable .war with winstone-maven-plugin
November 28th, 2008 by Hugo Josefson — Java, Tips & Tricks
Tags: executable, maven, programming, war, web
Running Selenium RC with Firefox 3
November 12th, 2008 by Joakim Back — Testing
After running into proxy errors attempting to run Selenium tests with Opera 9.62 and being unable to install Firefox 2 on Ubuntu 8.10 (unsatisfied package dependencies..) I finally ran into this gem: Hi, On windows I succeeded to run Selenium RC and Firefox 3 using the following steps 1. run firefox in profilemanager mode (“path\to\firefox.exe” [...]
Tags: automated testing, firefox 3, selenium, ubuntu, web
Wicket Javascript Internals dissected
September 26th, 2008 by Nino Martinez — Java
SO you need to do something special with a javascript and you want to integrate that with wicket. In my last article I looked at this from the wicket side and wrote about what you can do to push something out from wicket. But what if you want to interact? Then you will have to take a peek at wickets javascript internals. If you are working on an ajax component you get these wicket javascript source files included as default [...]
Tags: ajax, frameworks, javascript, open source, programming, web, wicket
Squid, the caching proxy
June 6th, 2008 by Ulrik Sandberg — Tips & Tricks
I just checked out the old Squid again, the worlds most famous caching proxy. If you direct all your web access through the Squid proxy server, it will cache stuff after the first access. This would simplify for example for labs where fifty people simultaneously begin retrieving stuff from a Maven repo somewhere or downloading [...]
Tags: cache, network, performance, proxy, tools, web
Using Amazon S3 for backup
September 2nd, 2007 by Ulrik Sandberg — Cloud, Tips & Tricks
Amazon Simple Storage Service (S3) is cheap on-line storage with a Web Service interface. You just log in with your Amazon id, sign up for S3, designate a credit card, and that’s it. You now have access to pretty much unlimited storage space, managed by Amazon. The price is $0.15 per GB-Month of storage used [...]
Tags: amazon, backup, mac, network, s3, storage, tools, web
Sharing a Mac Internet Connection Through Airport
January 20th, 2007 by Ulrik Sandberg — Tips & Tricks
I just solved a networking problem on my Macs after hours of trying. For the benefit of others, I’ll describe here the problem and the solution. Setup Cable modem from ISP, network cable to a firewall, the private end of the firewall via network cable on to a switch. Pretty basic, I guess. No wireless [...]
Tags: internet, mac, network, tools, web
Solving 403 problems with Sourceforge Subversion
January 13th, 2007 by Ulrik Sandberg — Tips & Tricks
After having had severe problems when committing to the Sourceforge Subversion repos, I stumbled upon what appears to be the solution. The problem was that in the middle of a commit, one file or directory would fail with a 403 (permission denied). In desperation, I would chop up the change set and commit little pieces [...]
Tags: dns, network, sourceforge, subversion, tools, web
A cool GMail feature
January 3rd, 2007 by Ulrik Sandberg — Tips & Tricks
Google Mail will deliver a mail even though the recipient address ends with ‘+’ and some more text, like john.doe+msn@gmail.com for example. This feature can be used to create an unlimited number of mail addresses that can be used for registration purposes. For example, say that the MSN web site requires your email address for [...]
