10 Features for Spring Developers in the New Relic Java Agent

The annual SpringOne 2GX conference has begun! New Relic is there in force and we have a lot to shout about.

New Relic has always had great support for identifying and finding bottlenecks in Spring MVC and Hibernate applications. Since last year’s SpringOne, our Java Agent has also added the following features that are near and dear to Spring developers.

1. Spring AOP

Shortly after SpringOne 2GX last year, we released a Java Agent version that detects Spring beans configured by Spring AOP. You now see calls that pass through an AOP pointcut that you have declared in your Spring application. This gives your additional insight into the call time of key Spring beans.

2. RabbitMQ

As of the 3.10.0 release last month, the Java Agent now reports message sends and receives from RabbitMQ.

rabbitmq3

3. Grails

The Java Agent now provides great visibility into your Grails applications. This integrates nicely with our support of frameworks that are commonly used with Grails, such as Spring AOP and Hibernate.

web_transactions1

4. JMS

Many Spring applications use JMS to pass messages to backend systems. New Relic provides visibility into JMS 1.1 message sends and receives. Message Consumers are reported as non-web transactions to show the same great detail as web transactions.

5. JAX-RS and JAX-WS annotations

Spring applications often use the JAX-RS and JAX-WS standard annotations for routing RESTful and SOAP web services, respectively. New Relic uses these annotations to identify requests and provide an intuitive transaction name.

6. Spring web services

While JAX-WS provides a great code-first approach to building SOAP web services, many developers prefer the contract-first approach provided by Spring Web Services. Java Agent 3.11, to be released later this month, will provide the same great support for tracking SOAP calls through Spring Web Services.

7. Better transaction naming with @RequestMapping

In the most recent Java Agent release, we introduced better transaction naming when you use the Spring @RequestMapping annotation. The URI path pattern can give you an even better sense of the traffic through your application than the default controller-method naming.

8. Java SE 8

Spring developers pride themselves on staying up-to-date with the latest technologies. Many are adopting Java SE 8 for its new language features and performance. The latest Java Agent release has full support for Java SE 8!

9. Cross application tracing

The Spring and Pivotal ecosystem provides all the tools needed to develop and support a service-oriented architecture (SOA). New Relic now provides a visual transaction map that shows how calls and messages traverse through your applications and services. Applications and services are tracked whether they are connected via HTTP, JMS, or the RabbitMQ API.

Cross application screenshot

10. Integration with Cloud Foundry

New Relic is the premier application performance monitoring add-on service to Cloud Foundry. Cloud Foundry makes it simple to add New Relic as a service to your Cloud Foundry apps. Stop by the booth and show us your app!

Bonus: Living in the Matrix

Have you ever wondered what happens with the bytecode running in the JVM? New Relic’s Ashley Puls will explain all in her presentation “Living in the Matrix with Bytecode Manipulation” at 4:30 p.m. today in Trinity 6-7. She will describe the whys and hows of reading and modifying bytecode.

Next up

We are always interested in what developers want from their software analytics, so be sure to stop by the New Relic booth. We would love to hear what frameworks you are using and how we can help you get a transparent view into your systems to find bottlenecks. See you there!

Chris Hansen is a Senior Product Manager at New Relic. He works to make New Relic the indispensable tool for monitoring high-performance distributed systems. Chris has worked as an engineering leader, architect, and developer. He lives in Portland, Ore., where he can be found biking, skiing, and building things with his family. View posts by .

Interested in writing for New Relic Blog? Send us a pitch!