• Home
  • RSS Feed
  • Log in

Posts Tagged ‘Java’

Older Entries

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/Bookmark

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

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/Bookmark

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

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/Bookmark

Tags: Java, Maven, Maven archetype
Filed under Java, Maven | 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/Bookmark

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

Testing Annotation Processors
Posted by Andrew Phillips in the early evening: July 21st, 2009

Recently, I was writing an Annotation Processor for the @Composite project. In good TDD fashion, that first and foremost meant writing some tests.

Although I in the end come across something that was fairly workable, it was trickier than one might have hoped for.

(more...)

  • Share/Bookmark

Tags: annotation processor, Java, model api, Testing
Filed under Java, Testing | 3 Comments »

JAX-WS, CXF and SAAJ on Oracle Weblogic 10.3
Posted by Ravan Naidoo in the early morning: July 14th, 2009

Recently I had to get JAX-WS based webservices running on Weblogic 10.3. However instead of using the default Weblogic 10.3 stack (Metro), the Apache CXF stack had to be used. Why? We required SOAP over JMS capabilities and that is possible with CXF without much effort.
(more...)

  • Share/Bookmark

Tags: Java
Filed under Deployment, Frameworks, Java, Maven | 3 Comments »

Helping JAVA to find its way _HOME
Posted by Wilfred Springer at around evening time: July 8th, 2009

This entry is about JAVA_HOME. (Yep, you read that right.) I never imagined I would ever write a post on an environment variable, but - hey - I have been breaking my jaws on this one for a while, so I figured there are probably a couple of other people happy to learn about the solution.

(more...)

  • Share/Bookmark

Tags: Java, java_home, macos
Filed under Java | 3 Comments »

@Composite for Unpacking COFF Data
Posted by Wilfred Springer just before lunchtime: July 4th, 2009

A while ago, I compared Preon with Erlang's bit syntax. I looked at one one of the examples from "Programming Erlang" in particular; an example that illustrates how to decode MPEG headers using Erlang. However, this is not the only example in that chapter, so I decided to take a stab at one of the other examples as well.

(more...)

  • Share/Bookmark

Tags: annotations, bit syntax, erlang, Java
Filed under Java | No Comments »

Open Letter to Geertjan Wielenga
Posted by Wilfred Springer mid-morning: June 26th, 2009

Geertjan Wielenga has been trying to pull me back into the NetBeans community for a couple of years in a row now. I admire his perseverance; if this is typical for the whole NetBeans team, then Eclipse is going out of the window some day soon.

(more...)

  • Share/Bookmark

Tags: fluent interface, Java, netbeans
Filed under Java | 11 Comments »

@Composite – Macro Annotations for Java
Posted by Andrew Phillips in the early morning: June 23rd, 2009

Some months ago I attended a presentation at which Wilfred Springer demonstrated his very cool Preon binary codec library. Defining binary file formats in Preon requires quite a lot of fairly repetitive sets of annotations, and during a chat after the talk Wilfred mentioned (in fact, he blogged about it) how much more convenient it would be if one could just define "shortcuts":

@RequiredEnumProperty(column = "AGENT")

for

@NotNull
@Column(name = "AGENT")
@Enumerated(EnumType.STRING)
 

for instance - and use those instead. Sort-of "macro annotatations" for Java, if you like.
A thought that has presumably also occurred to many frequent users of Hibernate, JAXB or other annotation-heavy frameworks.

Well, it took me rather longer than the couple of days it would probably have taken a developer of Wilfred's skill, but finally @Composite is here! (more...)

  • Share/Bookmark

Tags: annotation, composite, Java, macro
Filed under Java, Spring | 6 Comments »

Older Entries
Deployment automation for Java application running on Websphere, WebLogic and JBoss

Archives

  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009

Xebia Sites

  • Xebia Corporate
  • Xebia France
  • Xebia India

Categories

  • Java (282)
  • Agile (109)
  • General (50)
  • Testing (42)
  • Performance (42)
  • Hibernate (36)
  • Scrum (33)
  • Podcast (31)
  • Architecture (31)
  • Spring (28)
  • SOA (24)
  • Maven (22)
  • Project Management (22)
  • Middleware (23)
    • Deployment (14)
  • Flex (17)
  • JPA (17)
  • Eclipse (15)
  • Xebia Labs (15)
  • Quality Assurance (14)

Tag Cloud

    Hibernate Groovy Poppendieck Maven IntelliJ Introduction to Agile SOA esb Agile Agile Awareness Workshop XML Grails Java Architecture Semantic Web JavaOne Closures Performance Seam Spring product owner Scrum Lean Scala Testing Ajax Functional Programming fitnesse Xebia qcon