Frameworks

Episode 88. Logging! (An Interview w/Renaud from DataDog)

One of the first things that you learn to appreciate when you transition programming from hobby to a way of life is to find a good way to troubleshoot problems. Most of the time this means logging and monitoring, so for this episode we decided to interview Renaud Boutet who is DataDog’s VP of Product Manager, and don’t worry, he’s really a developer that went to the “Management” (i.e. dark) side, so he knows what he’s talking about!

Diving into topics from Logging Frameworks, to MDC, to a discussion of the three pillars of observability (Metrics, Traces, and Logs), this episode have good advice for everyone. From your first System.out.println (“I’m here”) to your slf4j with MDC setup, you’ll sure learn new tips and tricks!

FOLLOW US JavaPubHouse on twitter! Where we will be sharing new tech news, and tutorials!



We thank DataDogHQ for sponsoring this podcast episode and providing our Guest Speaker!

DataDog Logo
Don’t forget to SUBSCRIBE to our cool NewsCast! Java Off Heap



Do you like the episodes? Want more? Help us out! Buy us a beer!


And Follow us! @javapubhouse and @fguime and @bobpaulin

Episode 87. Ok, it’s time to get Reactive!

It’s that Streaming-new-deal that has been taken over the web world, Reactive! You’ve heard about it, and maybe even tried to learn it a couple of times but find it confusing? Well, be confused no more since on this episode Bob and I explore the basic foundations of Reactive (and explain what is that makes is so confusing to begin with)

But that’s not all. We also dive on why is such a “hot” technology and why is the recommended approach on new microservices, even so, we also explore its drawbacks and why we shouldn’t rip everything apart to make “reactive” things.

Lastly we start exploring one of the “reactive” frameworks with Spring WebFlux, and explore how to “think” about Reactive (and came with the marble track analogy). In all, this episode will shed light on a topic that has been hard to understand, but on which, if done correctly can bring a very large performance gain!

FOLLOW US JavaPubHouse on twitter! Where we will be sharing new tech news, and tutorials!



We thank DataDogHQ for sponsoring this podcast episode

DataDog Logo
Don’t forget to SUBSCRIBE to our cool NewsCast! Java Off Heap



Do you like the episodes? Want more? Help us out! Buy us a beer!


And Follow us! @javapubhouse and @fguime and @bobpaulin

Episode 85. Monitor the World with JMX!

There are technologies that sometimes are forgotten in a lonely corner, but that actually are quite sturdy. One of these is the All-Powerful Java Management Extensions (also known as JMX). With JMX you can actually expose a lot of metrics of your application and TONS of libraries use it “out of the box”. Libraries like Tomcat, JVM, ActiveMQ, Spring (and ton others) exposes their metrics through JMX. And you can too!

In this episode we go over how to both consume JMX metrics (through JConsole, or statsD, or other Performance Monitoring Tools), and how to produce them as well (By creating your own MBeans), not only that, but we also go with how to be able to “invoke” these on a live application. Have you ever wanted to say “Oh my, I wish I could call this method while the program is running in production ‘At will'”. Well, with MBeans, you can make that happen! Not only that, but if you really want to you can also expose your MBeans through a Rest Endpoint with Jolokia.

FOLLOW US JavaPubHouse on twitter! Where we will be sharing new tech news, and tutorials!



We thank DataDogHQ for sponsoring this podcast episode

DataDog Logo

We also thank OverOps for sponsoring this podcast episode

OverOps Logo
Don’t forget to SUBSCRIBE to our cool NewsCast! Java Off Heap



Do you like the episodes? Want more? Help us out! Buy us a beer!


And Follow us! @javapubhouse and @fguime and @bobpaulin

Episode 83. Hey! Your app needs its yearly HealthCheck as well!

You got your new project, it’s a brand new service, and is ready to go! But… have you done a health check endpoint for your app? In this day and age of microservices with auto-remediation and auto-scaling, having a well-behaved, functioning health-check is very important since it dictates when to evict, scale up (or down) your service.

And the great news is, that for the “bigger” frameworks (like Spring or Microprofile) the work is almost done for us! With Spring Boot Actuator and Microprofile, we have tons of support and annotations, and built-in healthchecks for the main “things”, like database connectivity, Message Queue connectivity, even Email settings!.

So don’t put it off…start listening to this podcast, and then start creating that oh-so-needed health check for your app! Also, stay tuned to this episode as we give a “hint” of new podcast series to come!

FOLLOW US JavaPubHouse on twitter! Where we will be sharing new tech news, and tutorials!



We thank DataDogHQ for sponsoring this podcast episode

DataDog Logo

We also thank OverOps for sponsoring this podcast episode

OverOps Logo
Don’t forget to SUBSCRIBE to our cool NewsCast! Java Off Heap



Do you like the episodes? Want more? Help us out! Buy us a beer!


And Follow us! @javapubhouse and @fguime and @bobpaulin

Episode 82. Uh-oh Spring… you got some serious competition from Micronaut!

So the internet is all raging about this (not so little) framework that is doing it all. Created with a “cloud-first” mentality, @Micronautfw is aiming to be your next Spring Boot! And, oh gosh, how easy they are making it.

We dive into what makes Micronaut such a darling of the internet right now (not using reflection, GraalVM ready, better memory consumption) and see how much “stuff” is in there (the TLDR; A Lot). We go from creating a microservice, to looking at the different already-implemented features like circuit breakers, properties/profiles, beans, support for lambdas, micrometer, reactive programming, and all. While it might not have “everything” that Spring does, the reality is that it’s pretty solid.

Would you consider Micronaut for your next project? The answer is maybe (and for some cases, maybe Yes). So come, and take a listen to the underdog framework (Micronaut) that’s stepping up to definitively take the reigning Champ (Spring)

FOLLOW US JavaPubHouse on twitter! Where we will be sharing new tech news, and tutorials!



We thank DataDogHQ for sponsoring this podcast episode

DataDog Logo

We also thank OverOps for sponsoring this podcast episode

OverOps Logo
Don’t forget to SUBSCRIBE to our cool NewsCast! Java Off Heap



Do you like the episodes? Want more? Help us out! Buy us a beer!


And Follow us! @javapubhouse and @fguime and @bobpaulin

Episode 81. Let’s Dive into a cool magical library that makes Java way less verbose!

Ah, Project Lombok is one of those little gems in the Java Ecosystem. But it’s interestingly controversial! Some will love it (as I do), others will hate it! But no matter which camp you land on, you should at least know about it!

Project Lombok allows you to, quite easily create your equals/hashcode method, or create a builder pattern for your class, or even generate your getters/setters. All while just adding a simple annotation to your class. How does it do it? (hint. It’s preprocessing bytecode magic) But holy cow, when used responsibly, Lombok allows you to write so little code for a ton of cases. So come take a look at why this library is powerful (and learn its benefits, and as importantly, its pitfalls)

FOLLOW US JavaPubHouse on twitter! Where we will be sharing new tech news, and tutorials!

We also have been revamping our site so go there, take a look, listen to old episodes, or search them!



We thank DataDogHQ for sponsoring this podcast episode




Don’t forget to SUBSCRIBE to our cool NewsCast! Java Off Heap



Do you like the episodes? Want more? Help us out! Buy us a beer!


And Follow us! @javapubhouse and @fguime and @bobpaulin

Episode 79. Here’s a present to you! A library that makes you program less (Apache Commons)

So for our new episode we decided to give YOU a holiday gift! Apache Commons! We covered one of the libraries that is ubiquotous in anyone who programs Java, but that not many know how robust and complete it is!

Do you have to do things like averages, min, max? Or do you have to read CSV files? What about measuring pieces of code with currentTimeMillis? or creating deep copy of Bean objects? Well, these and much more are already supported in the slew of Apache Commons project (and subprojects!). They usually have no transitive dependencies either so they are “ready” for the taking. And because Apache Commons is already used in many open source libraries, chances are that is already in your own project! Making it an easy thing to just start using it.

Happy holidays, enjoy this little gift from all of us :).

FOLLOW US JavaPubHouse on twitter! Where we will be sharing new tech news, and tutorials!

We also have been revamping our site so go there, take a look, listen to old episodes, or search them!



We thank DataDogHQ for sponsoring this podcast episode




Don’t forget to SUBSCRIBE to our cool NewsCast! Java Off Heap



Do you like the episodes? Want more? Help us out! Buy us a beer!


And Follow us! @javapubhouse and @fguime and @bobpaulin

Episode 69. All I want for Xmas is a million requests per second (Jmeter!)

So it’s the holidays and now we are winding down the year. Even so, sometimes this is the best time to actually do some performance testing. And there’s no better (foss) tool to do so than JMeter! Come and let’s dive into how to use JMeter for those stress and performance testing that needs to get done (you’re doing stress tests right?)

Don’t forget to SUBSCRIBE to our cool new NewsCast!
Java Off Heap

Do you like the episodes? Want more? Help us out! Buy us a beer!

And Follow us!
@javapubhouse
@fguime and @bobpaulin

 

Episode 63. JCR (Java Content Repository) It as a Document Database before Document Databases were cool!

The Java Content Repository (JSR-170 and JSR-283) have been around for a while. For those who don’t know it’s an actual way of managing content (or assets, or text, or images, or a catalog). Its use can be almost anything, and yet, we didn’t know we had it! The best part? It’s a JSR so not just that there are different, compatible implementations, but the underlying storage can be changed in a jiffy. Want to store as files in the filesystem, done. How about a Database? also done. How about using something that the cool kids use like Mongo? It Got you covered man! (or Woman!)

Don’t forget to SUBSCRIBE to our cool new NewsCast!
Java Off Heap

Do you like the episodes? Want more? Help us out! Buy us a beer!

And Follow us! @fguime and @bobpaulin

 

Episode 62. Hm, what’s the best to travel this holiday? on Apache CAMEL, of course!

So let’s talk about one of (if not the) largest, and most interesting framework hosted at Apache. Camel is essentially an implementation of the Enterprise Integration Patterns (EIP) book (which is a mandatory read for the serious dev!). It has so many contributions (and connections) that there is almost no popular system that it can’t connect to. In this episode we dive into the reasoning and “spirit” of Camel, to make sense on how to use it. If you ever used Camel, or have run into camel and scratched your head, then definitively take a listen!

 


A Big Thanks to LaunchDarkly for sponsoring our podcast! Feature flagging is easy, feature flag management is hard. What LaunchDarkly has done is essentially take a system like Google or Facebook has made in-house and bring this to the masses. With features like percentage rollouts, audit logging, and flag statuses, teams have complete control over features at scale. When you effectively separate business logic from code, you can build better software, faster without the risk

Don’t forget to SUBSCRIBE to our cool new NewsCast!
Java Off Heap

 

Do you like the episodes? Want more? Help us out! Buy us a beer!