DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

The Latest Java Topics

article thumbnail
Are We There Yet? When Do We Move to GraalVM?
The big release of Spring and official support for spring native resurfaced my thoughts on migrating to GraalVM native image. Is it SubstrateVM time?
October 31, 2022
by Shai Almog DZone Core CORE
· 7,585 Views · 5 Likes
article thumbnail
Event Stream Programming Unplugged —Part 1
This article shows what event stream programming is and demonstrated its use can be quite easy if we uncouple non-core concerns.
Updated October 28, 2022
by Greg Higgins
· 7,105 Views · 6 Likes
article thumbnail
Cloud Key Management Services Use Cases
This article will compare the primary security key management services solution use cases among the Azure key vault, AWS KMS, Google CKMS, and other Cloud key management solutions.
October 28, 2022
by Gary Li
· 8,980 Views · 2 Likes
article thumbnail
Business Process Modeling: The Practice of Using Camunda BPM in Java Development
In this article, I’ll talk about the key components of the Camunda Business Process Management system.
October 27, 2022
by Julia Voloshchenko
· 9,157 Views · 2 Likes
article thumbnail
Discuss the Problem, Not the Solution
Learn more about the importance of focusing on understanding the problem before discussing the solution.
October 26, 2022
by Nicolas Fränkel
· 7,483 Views · 5 Likes
article thumbnail
Data Type Conversions in Java
A brief guide to popular data type conversions in Java.
October 25, 2022
by Atta Shah
· 9,391 Views · 2 Likes
article thumbnail
Gradle: Push to Maven Repository
Learn more about Gradle and pushing to a Maven repository.
October 25, 2022
by Emmanouil Gkatziouras DZone Core CORE
· 6,186 Views · 3 Likes
article thumbnail
Troubleshooting App Unresponsiveness Due to Oracle DB
A slowdown in the Oracle RAC cluster degraded an entire application’s response time. Here, let’s discuss the steps we pursued to troubleshoot this problem.
October 25, 2022
by Ram Lakshmanan DZone Core CORE
· 4,953 Views · 1 Like
article thumbnail
Java Records — Etched in Finality
This article shows a broad coverage of the concept of records.
October 24, 2022
by Manoj N Palat
· 7,190 Views · 9 Likes
article thumbnail
JQueue: A Library to Implement the Outbox Pattern
JQueue is a library that helps ensure services are updated and published consistently and atomically. Learn how to use it in your EBA.
October 22, 2022
by Enrique Molinari
· 10,564 Views · 5 Likes
article thumbnail
JavaOne 2022: Java Continues to Evolve
The Java development team looks at the evolution of hardware and software to innovate and maintain its relationships with the developer community.
October 22, 2022
by Tom Smith DZone Core CORE
· 8,991 Views · 2 Likes
article thumbnail
Great Time at JavaZone 2022
JavaZone is my absolute favorite Java conference. I like it even more than JavaOne at Moscone! Great to be back to enjoy great content, food, and company.
October 20, 2022
by Shai Almog DZone Core CORE
· 6,034 Views · 2 Likes
article thumbnail
Exceptions in Lambdas
Java streams don't play well with checked exceptions. In this article, take a deep dive into how one can manage such problems.
October 20, 2022
by Nicolas Fränkel
· 13,514 Views · 15 Likes
article thumbnail
Trick the JVM for Maximum Performance With Megamorphic Call Sites
Let's see how we can trick the JVM into getting maximum performance even with megamorphic call sites by using old-fashioned or strange-looking code.
October 19, 2022
by Thomas Mauch
· 5,838 Views · 3 Likes
article thumbnail
Infrastructure as Code (IaC) for Java-Based Apps on Azure
A closer look at Java at Microsoft and Azure and what Microsoft can offer to modernize existing Java-based apps or bring new ones with the practice of IaC
Updated October 19, 2022
by Bobur Umurzokov
· 7,469 Views · 2 Likes
article thumbnail
How To Create Asynchronous and Retryable Methods With Failover Support
Learn about a new framework that allows processing methods asynchronously with retries in case of failure and the support of load-balancing and failover.
October 18, 2022
by Mohammed ZAHID
· 14,006 Views · 1 Like
article thumbnail
When Breakpoints Don't Break
Tracepoints (AKA Logpoints) are slowly gaining some brand name recognition. But some still don't know about the whole non-breaking breakpoints family.
October 15, 2022
by Shai Almog DZone Core CORE
· 8,469 Views · 3 Likes
article thumbnail
Java Is Very Fast if You Don’t Create Many Objects
An examination of even tiny object creation on performance and garbage collection.
October 15, 2022
by Peter Lawrey
· 12,653 Views · 19 Likes
article thumbnail
Harnessing a New Java Web Dev Stack: Play 2.0, Akka, Comet
for people in hurry, here is the code and some steps to run few demo samples . disclaimer: i am still learning play 2.0, please point to me if something is incorrect. play 2.0 is a web application stack that bundled with netty for http server , akka for loosely coupled backend processing and comet / websocket for asynchronous browser rendering. play 2.0 itself does not do any session state management, but uses cookies to manage user sessions and flash data . play 2.0 advocates reactive model based on iteratee io . please also see my blog on how play 2.0 pits against spring mvc . in this blog, i will discuss some of these points and also discuss how akka and comet complement play 2.0. the more i understand play 2.0 stack the more i realize that scala is better suited to take advantages of capabilities of play 2.0 compared to java. there is a blog on how web developers view of play 2.0 . you can understand how akka’s actor pits against jms refer this stackoverflow writeup . a good documentation on akka’s actor is here . play 2.0, netty, akka, commet: how it fits play 2.0, netty, akka, comet: how it fits servlet container like tomcat blocks each request until the backend processing is complete. play 2.0 stack will help in achieving the usecase like, you need to web crawl and get all the product listing from various sources in a non-blocking and asynchronous way using loosely coupled message oriented architecture. for example, the below code will not be scalable in play 2.0 stack, because play has only 1 main thread and the code blocks other requests to be processed. in play 2.0/netty the application registers with callback on a long running process using frameworks like akka when it is completed, in a reactive pattern. public static result index() { //here is where you can put your long running blocking code like getting // the product feed from various sources return ok("hello world"); } the controller code to use akka to work in a non-blocking way with async callback is as below, public static result index() { return async( future(new callable() { public integer call() { //here is where you can put your long running blocking code like getting //the product feed from various sources return 4; } }).map(new function() { public result apply(integer i) { objectnode result = json.newobject(); result.put("id", i); return ok(result); } }) ); } and more cleaner and preferred way is akka’s actor model is as below, public static result sayhello(string data) { logger.debug("got the request: {}" + data); actorsystem system = actorsystem.create("mysystem"); actorref myactor = system.actorof(new props(myuntypedactor.class), "myactor"); return async( akka.aspromise(ask(myactor, data, 1000)).map( new function() { public result apply(object response) { objectnode result = json.newobject(); result.put("message", response.tostring()); return ok(result); } } ) ); } static public class myuntypedactor extends untypedactor { public void onreceive(object message) throws exception { if (message instanceof string){ logger.debug("received string message: {}" + message); //here is where you can put your long running blocking code like getting //the product feed from various sources getsender().tell("hello world"); } else { unhandled(message); } } } f you want to understand how we can use comet for asynchronously render data to the browser using play, akka and comet refer the code in github . here is some good writeup comparing comet and websocket in stackoverflow .
Updated October 11, 2022
by Krishna Prasad
· 11,683 Views · 2 Likes
article thumbnail
Geek Reading Link List
I have talked about human filters and my plan for digital curation. These items are the fruits of those ideas, the items I deemed worthy from my Google Reader feeds. These items are a combination of tech business news, development news and programming tools and techniques. Making accessible icon buttons (NCZOnline) Double Shot #1097 (A Fresh Cup) Life Beyond Rete – R.I.P Rete 2013 (Java Code Geeks) My Passover Project: Introducing Rattlesnake.CLR (Ayende @ Rahien) Super useful jQuery plugins for responsive web design (HTML5 Zone) Android Development – Your First Steps (Javalobby – The heart of the Java developer community) Never Ever Rewrite Your System (Javalobby – The heart of the Java developer community) Telecommuting, Hoteling, and Managing Product Development (Javalobby – The heart of the Java developer community) The Daily Six Pack: April 1, 2013 (Dirk Strauss) Optimizing Proto-Geeks for Business (DaedTech) Learning Bootstrap Part 2: Working with Buttons (debug mode……) Rumination on Time (Rob Williams' Blog) Unit-Testing Multi-Threaded Code Timers (Architects Zone – Architectural Design Patterns & Best Practices) Metrics for Agile (Javalobby – The heart of the Java developer community) Detecting Java Threads in Deadlock with Groovy and JMX (Inspired by Actual Events) Entrepreneurs: Stop participating in hackathons just to win them (VentureBeat) How to hack the recruitment process to find the best developers for your startup or agency (The Next Web) Hardware Hacks: MongoLab + Arduino (Architects Zone – Architectural Design Patterns & Best Practices) The Daily Six Pack: March 30, 2013 (Dirk Strauss) I hope you enjoy today’s items, and please participate in the discussions on those sites.
Updated October 11, 2022
by Robert Diana
· 6,643 Views · 1 Like
  • Previous
  • ...
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • ...
  • Next
  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook
×