← Blog Home

java Blog Posts

Monitoring Errors in Android Apps

Written By Jason Skowronski May 9th, 2018

When developing mobile apps it’s important to monitor errors so that you can understand your user’s experience. You need deeper insight than just a crash report because errors could cause a degraded user experience or a drop in key behavioral metrics. Your team needs to know quickly when there are production problems either with the app itself or with your backend services so you can fix the issue before more customers are impacted.

Rollbar’s Android SDK lets you track and analyze errors that happen in your Android native applications, and even trace problems to backend services and third party APIs. It provides you with a live error feed from your application, including complete stack traces and contextual data to debug errors quickly. We also track the environment the error is coming from (prod or staging), the server that generated the error, and even the user’s session data. You can then quickly assign ownership of errors to your team and track when they are fixed. Learn more about Rollbar’s product features for Android.

Below, you can see that we've created an example app that triggers an exception when the user clicks on a button. The error message is tracked in Rollbar, including a stack trace where you can see the line of code that caused the error. Rollbar captures errors that occur anywhere in the app. You can follow along with our example using the source code on GitHub.

Gif of Rollbar android example

Read more

Most Popular Java Web Frameworks

Written By Vince Power December 19th, 2017

As Java has evolved over the years, multiple attempts have been made to simplify development for various use cases. From official standards like Java Enterprise Edition, to community-driven frameworks, Java is continuing to prove itself to be adaptable and viable.

Our top list is based on usage from Hotframework.com's Java ranking and several other sources including blog posts and GitHub download numbers.

Read more

Spring MVC Exception Handling and Monitoring

Written By Jason Skowronski November 27th, 2017

The Spring Famework is the most popular framework for Java according to hotframeworks.com. It provides a model view controller (MVC) architecture and readily available components to develop flexible and loosely coupled web applications.

If you are new to Rollbar, it helps you monitor errors in real-world applications. It provides you with a live error feed from the application, including complete stack traces and request data from the browser to debug errors quickly. It lets you easily understand user experience by tracking who is affected by each error. Learn more about our Java error monitoring product features.

While Rollbar’s notifier works with any Java application, we’re going to show you how to set it up with Spring and how to try it out yourself with a working example app.

Read more

Announcing Our New Java Error Monitoring SDK

Written By Jason Skowronski November 17th, 2017

Rollbar is proud to announce the first official 1.0 release of our Java notifier SDK for error monitoring. Java continues to be one of the world’s most popular programming languages. It’s the most sought-after language for employers and has the second most pushes on GitHub according to Stackify’s 2017 rankings.

Rollbar helps you monitor errors in real-world applications. It provides you with a live error feed, along with stack traces and contextual data to debug errors quickly. It's important to select an error monitoring solution that supports all the languages your company uses for a clear picture across your whole stack from the front end to the back end. Some competing solutions just don't give you that full visibility. Learn more about our product features for Java.

This new version of our Java notifier SDK supports many frameworks including web apps, Android, Scala, Kotlin, Spring MVC, and more. In web applications, it captures data about the request including the user's IP address and browser so you can narrow the problem down. It helps you identify root cause quickly, by giving you contextual data on what changed and when from your source control and deployment systems. You can also react proactively by seeing which users were affected and prioritize fixes.

Java items screenshot

Grouped Java exceptions, as seen in Rollbar

Read more

Join Our Community

Get the latest updates, tutorials and more, delivered to your inbox, once a month.

Join Our Community

Get the latest updates, tutorials and more, delivered to your inbox, once a month.