• Home
  • RSS Feed
  • Log in

Posts Tagged ‘Java’


JavaFX 2.0 beta
Posted by Gerbrand van Dieijen mid-afternoon: May 31st, 2011

Last weekend the public beta of JavaFX 2.0 came out. I’ve much anticipated this release, as you might guess from my previous posting on JavaFX 2.0. I’ve downloaded the JavaFX-runtime, SDK and Netbeans-plugins the following evening from Oracle’s JavaFX page and started trying out JavaFX by viewing and running the examples from the SDK from Netbeans.
I’m quite enthusiastic, read on the learn more!
(more…)

Share

Tags: Java, JavaFX
Filed under Java, mobile, ria, swing, Technology | 5 Comments »


Making the bootstrap loader “just another ClassLoader”
Posted by Andrew Phillips around lunchtime: February 24th, 2011

Recently, I was tweaking MultiSPI to add the following class loading fallback logic:

if (threadContextLoader != null) {
  loadFromContextLoader(className);
} else if (systemLoader != null) {
  loadFromSystemLoader(className);
} else {
  loadFromBootstrapLoader(className);
}

and realized that it’s not immediately evident how to do this in a uniform way. But actually, it’s quite simple…getting a ClassLoader object for the bootstrap loader is just a couple of lines of code.
(more…)

Share

Tags: class loader, Java
Filed under Java, Tools | No Comments »

Kris Geusebroek

How the quest for transaction timeout’s did cost me money
Posted by Kris Geusebroek in the late evening: February 14th, 2011

At our project the focus is at making the application stable and controllable. So instead of building cool new features
we are spending our time making sure the application is able to run stable in the production environment.

After the first few issues the so called ‘Transaction timeout’ issue raised it’s ugly head.
Every now and then the application threw an exception due to a transaction timeout.
This was very strange since the timeout was set to 30 seconds and the complete processing of the whole
application was done in less than 2 seconds (spread over more than 1 transaction).
(more…)

Share

Tags: Hibernate, Java, log4j, timeout
Filed under General | 5 Comments »


MultiSPI – consuming service provider interfaces in 2011
Posted by Andrew Phillips mid-morning: February 13th, 2011

Implementing a Java SPI isn’t a particularly 2011 experience1. Creating a correctly-named text file in META-INF/services, making sure it is correctly packaged and remembering to keep it up to date when you refactor is sufficiently annoying and error-prone that there are at least a couple of utils that aim to make this easier.

At XebiaLabs, however, we’re not just the implementors of our plugin SPI. We also write the deployment engine that consumes these plugins. And unfortunately, there isn’t much out there to help you read, load and verify services. Hence MultiSPI.
(more…)

Share

Tags: dependency injection, Java, spi
Filed under Java, Tools | No Comments »

Wilfred Springer

You have just been deconfluenced
Posted by Wilfred Springer in the early morning: February 9th, 2011

Before you start wondering, ‘deconfluencing’ is not a word you can lookup in Merriam Webster. Perhaps it should be. It certainly is something I needed, and eventually ended up creating myself.

(more…)

Share

Tags: confluence, Java, proxy
Filed under Java | No Comments »


Which Generic Swallow
Posted by Jeroen van Erp just before lunchtime: August 12th, 2010

Scene opens…
An idyllic landscape unfolds before our eyes, in yonder distance we see a figure approaching us. He goes by the name of Arthur, King of the Britons…
(more…)

Share

Tags: generics, Java
Filed under General, Java | 1 Comment »


Web performance in seven steps; Step 6: Tune based on evidence
Posted by Jeroen Borgers in the late evening: November 2nd, 2009

Last time I blogged about the relevance of monitoring and diagnostics in production to solve incidents quickly and prevent future problems. This time I’ll talk about tuning based on evidence.

If an application turns out to be too slow, tuning can provide a solution. Tuning can take place on multiple levels. Adding hardware can be a cheap solution. However, when you add hardware at a place where the bottleneck is not located, this has little use.
(more…)

Share

Tags: Java, Performance, tuning
Filed under Java, Performance, Tools | 1 Comment »

Wilfred Springer

The XML Instance Gamut
Posted by Wilfred Springer terribly early in the morning: October 19th, 2009

If you happen to be in the business of writing software serving XML documents or consuming XML documents – and if you read this post, then there is a fair chance you are – then there is always one big challenge: how do you make sure your service or client is capable of dealing with all of the XML documents you could possibly expect to be passed around?

And if you happen to come from the test-driven world, the answer is obviously: by testing it. However, if you try to do that, things might be harder than you expect at first.

What about schemas?

(more…)

Share

Tags: Java, XML, XML Schema
Filed under Java | 5 Comments »

Wilfred Springer

Organizing Archetypes
Posted by Wilfred Springer in the late evening: October 14th, 2009

Maven archetypes are an excellent way of allowing people to create instances of a particular type of project without having them to know or worry about all of the peculiarities and details. (And the latest incarnations of the Maven Archtetype Plugin are actually way better than I realized: somewhere down the line, they introduced the ability to use Velocity templates for parameterizing the output. Nice!)
(more…)

Share

Tags: Java, Maven, Maven archetype
Filed under Java | No Comments »


Web performance in seven steps; Step 4: Test continuously
Posted by Jeroen Borgers at around evening time: July 22nd, 2009

Last time I blogged about the importance of representative performance testing. Having production-like properties for hardware, OS, JVM, app server, database, external systems and simulated user load are essential to prevent bad performance surprises when going live. In addition, I described how cloud computing can be utilized to generate high loads on-demand without having to worry about the infrastructure.

Continuous performance testing
With a representative test as one of the last steps before going live we prevent that expensive bad-performance surprises will pop up in production. However, the same surprises will pop-up, only earlier and with less impact. To save costs and prevent large architectural refactoring, it is crucial to test for performance as soon as possible. This is just like any other software defects and Quality Assurance: the later in the development process defects are detected, the more costly these defects are.

At a popular web shop I had the following challenge: (more…)

Share

Tags: Java, Performance, Quality Assurance
Filed under Agile, Architecture, Java, Performance, Quality Assurance, Testing | No Comments »

← Older posts

Xebia Sites

  • Xebia Corporate
  • Xebia France
  • Xebia India
  • Xebia Sweden

Categories

  • Java (311)
  • Agile (181)
  • General (136)
  • Scrum (67)
  • Architecture (64)
  • Testing (59)
  • Performance (46)
  • Middleware (56)
    • Deployment (38)
  • Xebia Labs (39)
  • SOA (31)
  • Podcast (31)
  • Project Management (28)
  • Tools (26)
  • Uncategorized (20)
  • lean architecture (20)
  • Quality Assurance (17)
  • Articles (13)
  • Requirements Management (13)
  • Virtualization (19)

Tag Cloud

    Spring JPA implementation patterns Oracle product owner Groovy Flex SOA Frameworks Xebia Architecture Agile Java Lean Eclipse Ajax TDD Maven ACT agile architectuur Concurrency Control JPA Hibernate lean architecture Javascript Moving to India Grails lean architectuur Scrum Scala XML

Archives

  • February 2012
  • January 2012
  • December 2011
  • November 2011
  • October 2011
  • September 2011
  • August 2011
  • July 2011
  • June 2011
  • May 2011
  • April 2011
  • March 2011
Avatars by Sterling Adventures