Archive for the 'Java' Category
The permanent generation is the area of heap that holds all the reflective data of the virtual machine
itself, such as class and method objects (also called “method area” in The Java Virtual Machine
Specification).
Translation: PermGen holds the information that makes the JVM work.
Why do you care?
If an application loads “too […]
January 29th, 2008 | Posted in Java, PermGen | 1 Comment
Protip: if you are starting a business whose success hinges on scalability of a data store, you had best figure out how to shard across N machines before you launch. Using a single instance of MySQL for the whole thing is a strong indicator that you have failed at life.
[…]
December 18th, 2007 | Posted in Code, Hibernate, JRuby, Java, Ruby, Scalability | 1 Comment
2008 will probably be the year of JRuby. JRuby solves the two biggest pain points I hear from developers about Ruby.
People think Ruby is slow, so I can’t try it out.
I don’t know how we would deploy it, what is all this Apache/Mongrel/Rewrite stuff? Can’t I just deploy on our app server?
Headius by […]
November 23rd, 2007 | Posted in Agility, JRuby, Java, Ruby, Ruby on Rails | No Comments
Over at mult.ifario.us there was a Java brain teaser…
Suppose that you have a Java web application where regular expressions are used deep down in the implementation to do some work, but you observe that the an array index exception is occurring sporadically where the regular expressions are being used.
What’s […]
March 19th, 2007 | Posted in Java | No Comments
Java and it’s classloaders, always a fun time!
Every been using Maven2, Cargo and deploying to Jetty 6 with Commons Logging? Probably not, but if you were you’d run into this I bet.
org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy.
This is a Type-2 Classloader error. I know, what does that mean?
Type-II: Assignment incompatibility […]
February 21st, 2007 | Posted in Code, Java, Maven2 | 1 Comment
Update for you BlackJack owners on Cingular, get your extended battery for free if you haven’t already.
Unusual and a nice gesture from Cingular, but if you got your BlackJack a while ago then it came with two standard batteries. In my experience the standard battery lasts less than a day if you are […]
February 2nd, 2007 | Posted in Cell Phones, Java, Wes's Boring Life | 1 Comment
RSpec, the Behavior Driven Development(BDD) library for Ruby, has been solidifying on JRuby recently. A post to the mailing list last week pointed out that it’s now passing nearly 100% of its specification (the RSpec term for a test suite).
http://www.infoq.com/news/2006/11/RSpecOnJRuby
I mentioned rSpec in Beyond Test Driven Development: Behaviour […]
December 1st, 2006 | Posted in Agility, BDD, Code, Java, Ruby, TDD, Testing, rSpec | 1 Comment
I have the the Better Builds with Maven book on my desk here opened to “Developing your first Mojo.” EVERYONE that has walked in has commented something clever regarding their mojo.
This afternoon this happened:
dev1: I wish I had developed my first mojo in college.
[…]
November 21st, 2006 | Posted in Build Process, Java, Maven2, Quotes | No Comments
A friend over at Pivotal sent me a link to this Google Video: Beyond Test Driven Development: Behaviour Driven Development.
This quote sets the tone for this awesome talk:
Everyone’s happy doing TDD… and everyone is getting the maximum benefit right?
Bullshit.
Thanks go out to parkert for sending me this link.
Update: […]
November 9th, 2006 | Posted in Agility, BDD, Java, Ruby, TDD, Testing, rSpec | No Comments
I asked you all earlier: What defines a test suite in your organization?
I’ve also written about TestNG and now Andy Glover brings them together with this Dev2Dev article Test Categorization Techniques with TestNG This is a great article, go check it out.
November 9th, 2006 | Posted in Java, TestNG, Testing | No Comments