InfoQ Homepage Java Content on InfoQ
-
Java, .NET, But Why Together?
The Java vs. NET war is over. In this article, Ted Neward looks at how we can leverage the strengths of each together, such as using Microsoft Office to act as a "rich client" to a Java middle-tier service, or building a Windows Presentation Foundation GUI on top of Java POJOs, or even how to execute Java Enterprise/J2EE functionality from within a Windows Workflow host.
-
Painless AOP with Groovy
Groovy's Metaobject-Protocol provides a single point of contact for modifying the core behaviour of the Objects we create. John McClean shows how to use Groovy's MOP to perform AOP interception without proxyies or bytecode manipulation, and shows how the same is possible in Ruby and other dynamic languages.
-
Testing Ajax Applications with Selenium
The Selenium develompent team briefly introduces Selenium, a web acceptance testing tool, and shows how to test Ajax applications with waitForXxxx Selenium commands, as well as how to test a simple Ajax effect - an asynchronous text update - with Selenium.
-
Migrating Struts Apps to Struts 2
Struts committer Ian Roughely explains, from the perspective of a Struts developer, the high level architecture, basic request workflow, configuration semantics and differences in the action framework in the new Struts 2 (formerly WebWork). Armed with this knowledge, migrating an application of any size from Struts to Struts 2 should be simplified.
-
An Update on Spring 2.0 Final
Spring 2.0 was initially supposed to come out in June/July, why the delay? InfoQ interviewed the Spring team - based on massive community feedback, the team has chosen to delay the launch to Sept 26th in order work on asynchronous JMS capabilities, JPA, the new JSP form tag library, OSGi integration, documentation, and backwards compatibility.
-
Grails + EJB Domain Models Step-by-Step
Grails brings Ruby on Rails style productivity to the Java platform, built on the Groovy language and fully integrated with Java. This tutorial shows how to use Grails to quickly build a functional website around an existing EJB 3 entity bean domain model with very little code
-
Simplifying Enterprise Applications with Spring 2.0 and AspectJ
This article reviews Spring AOP support in 2.0, and walks you through an adoption roadmap for AOP in enterprise applications, with plenty of examples of features that can be implemented simply using AOP, but would be very hard to do any other way.
-
Using Logging Seams for Legacy Code Unit Testing
Using logging seams you can easily create unobtrusive unit tests around legacy classes, without needing to edit class logic as well as avoiding behavior changes.
-
From Java to Ruby: Strategies for Pilots
The Ruby on Rails revolution has been led by developers. Convincing management takes another kind of persuasion. A manager needs to understand the risks of adopting Ruby, the risks of snubbing mainstream languages like Java--even for one project--and the overall technical landscape of Ruby's capabilities.
-
Annotation Hammer
Annotations in Java 5 provide a very powerful metadata mechanism. Yet, like anything else, we need to figure out where it makes sense to use it. In this article we will take a look at why Annotations matter and discuss cases for their use and misuse.
-
EJB 3 Glossary
An essential glossary of new terms and concepts introduced in EJB 3. The glossary demystifies buzzwords like (IoC), Configuration by Exception, POJO, POJI, Dependency Injection, Embeddable Object, Interceptors, and more. This glossary will constantly be updated.
-
ESB Roundup Part two: ESB Use Cases
This is the second part of InfoQ's ESB series, an exploration of Enterprise Service Bus, or ESB technologies. The focus is use cases required by companies deploying this technology, such as protocol bridging, security intermediation and service virtualization. The article references analyst commentary, survey research results and comments on part one of the ESB roundup.