Java

Synchronous or Asynchronous, and Why Wrestle With Wrappers?

Java Lobby Announcements - 15 hours 54 min ago

Have you ever wondered why you have to wrestle with CompletableFutures instead of “just writing code” like in the old days? Is it only for performance? Or maybe it’s just a fashion? Let’s find out!


Writing synchronous, blocking, procedural code seems simple. The business logic is expressed as a sequence of steps. When there is a need to do I/O, you synchronously call a blocking I/O method and further process the result. Calling a method which adds two numbers looks the same as calling a method which sends an HTTP request.

Categories: Java

Hyperscale Agnostic with @CloudRank | @CloudExpo #AI #DevOps #Hyperscale

JDJ - 16 hours 55 min ago
"Our strategy is to focus on the hyperscale providers - AWS, Azure, and Google. Over the last year we saw that a lot of developers need to learn how to do their job in the cloud and we see this DevOps movement that we are catering to with our content," stated Alessandro Fasan, Head of Global Sales at Cloud Academy, in this SYS-CON.tv interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.

read more

Categories: Java

IoT Workshop at @ExpoDX New York | @CHarrold303 #AI #IoT #IIoT #SmartCities #DigitalTransformation

JDJ - 18 hours 40 min ago
IoT is rapidly becoming mainstream as more and more investments are made into the platforms and technology. As this movement continues to expand and gain momentum it creates a massive wall of noise that can be difficult to sift through. Unfortunately, this inevitably makes IoT less approachable for people to get started with and can hamper efforts to integrate this key technology into your own portfolio. There are so many connected products already in place today with many hundreds more on the horizon, that we already run the risk as enablers and supporters of not being able to effectively understand and develop these complex and multi-disciplined solutions on our own. That understanding, of the basics of circuits, sensors, and how those things work together and with software is the key to being able to understand, engineer, and support IoT solutions in your own environment.

read more

Categories: Java

Accelerating #DigitalTransformation with @FormationDS | @CloudExpo #AI #IoT #IIoT #DataCenter #SmartCities

JDJ - Tue, 2018-04-24 22:30
Organizations planning enterprise data center consolidation and modernization projects are faced with a challenging, costly reality. Requirements to deploy modern, cloud-native applications simultaneously with traditional client/server applications are almost impossible to achieve with hardware-centric enterprise infrastructure. Compute and network infrastructure are fast moving down a software-defined path, but storage has been a laggard. Until now.

read more

Categories: Java

CodeTalk: Jakarta EE's Cloud Native Opportunities [Podcast]

Java Lobby Announcements - Tue, 2018-04-24 21:52

Thanks for tuning in to another episode of DZone's CodeTalk Podcast where hosts Travis Van and Travis Carlson have early conversations with the creators of new developer technologies. For the next few episodes, we'll be stepping outside of our usual coverage to interview a series of folks on Jakarta EE (the platform formerly known as Java EE) to hear from a number of perspectives on what the switch from Oracle governance to Eclipse means for developers.

Check back every Wednesday for a fresh episode, and if you're interested in being involved as a guest or have feedback for our hosts, scroll down to the bottom for contact information. Also be sure to check out the previous episode in our Jakarta series, where Travis and Travis both spoke with Mike Milinkovic, Executive Director of the Eclipse Foundation and Director of the Open Source Initiative, to talk about the Eclipse Foundation and what's in store for Jakarta EE and the specification process behind it.

Categories: Java

DevOps and Immutable Infrastructure | @DevOpsSummit #Docker #DevOps

JDJ - Tue, 2018-04-24 20:30
You often hear the two titles of "DevOps" and "Immutable Infrastructure" used independently. In his session at DevOps Summit, John Willis, Technical Evangelist for Docker, covered the union between the two topics and why this is important. He provided an overview of Immutable Infrastructure then showed how an Immutable Continuous Delivery pipeline can be applied as a best practice for "DevOps." He ended the session with some interesting case study examples.

read more

Categories: Java

Augmented Reality Technology with @AkvelonInc | @ExpoDX #AI #IoT #IIoT

JDJ - Tue, 2018-04-24 19:30
"Akvelon is a software development company and we also provide consultancy services to folks who are looking to scale or accelerate their engineering roadmaps," explained Jeremiah Mothersell, Marketing Manager at Akvelon, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.

read more

Categories: Java

Recent Java Developments: Late April 2018

Java Lobby Announcements - Tue, 2018-04-24 18:01

There have been several recent developments in the Java-sphere this week and I summarize some of them in this post.

The End of JavaOne as We Know It

In the post "JavaOne Event Expands with More Tracks, Languages and Communities - and New Name," Stephen Chin writes, "The JavaOne conference is expanding to create a new, bigger event that's inclusive to more languages, technologies and developer communities." He adds that it has been renamed to "Oracle Code One" and that this year's edition (the "inaugural year of Oracle Code One") will be held in San Francisco's Moscone West in late October (October 22-25, 2018).

Categories: Java

Keynote: Hybrid Cloud & #DigitalTransformation | @CloudExpo @IBMcloud #IoT

JDJ - Tue, 2018-04-24 15:30
In an era of historic innovation fueled by unprecedented access to data and technology, the low cost and risk of entering new markets has leveled the playing field for business. Today, any ambitious innovator can easily introduce a new application or product that can reinvent business models and transform the client experience. In their Day 2 Keynote at 19th Cloud Expo, Mercer Rowe, IBM Vice President of Strategic Alliances, and Raejeanne Skillern, Intel Vice President of Data Center Group and GM, will discuss how clients in this new era of innovation can apply data, technology, plus human ingenuity to springboard to advance new business value and opportunities.

read more

Categories: Java

Cloud Evolution with @_Considine | @CloudExpo @IBMcloud‏ #AI #DataCenter

JDJ - Tue, 2018-04-24 14:00
In his Opening Keynote at 21st Cloud Expo, John Considine, General Manager of IBM Cloud Infrastructure, led attendees through the exciting evolution of the cloud. He looked at this major disruption from the perspective of technology, business models, and what this means for enterprises of all sizes. John Considine is General Manager of Cloud Infrastructure Services at IBM. In that role he is responsible for leading IBM’s public cloud infrastructure including strategy, development, and offering management. To date, IBM has launched more than 50 cloud data centers that span the globe. He has been building advanced technology, delivering “as a service” solutions, and managing infrastructure services for the past 20 years.

read more

Categories: Java

JWTs With Spring Boot and Java 9

Java Lobby Announcements - Tue, 2018-04-24 12:01

JWT (JSON Web Token) is an open source standard commonly used to transmit data between two services in a compact and secure way. This standard offers a wide range of libraries to generate JWTs and includes libraries for platforms such as .NET, Python, Node.js, Java, JavaScript, Perl, Ruby, Elixir, Golang, Groovy, and Haskell. The code is available on GitHub.

Features
  • Secure. JWTs are signed by using a secret or a public/private key pair.
  • Self-contained: all information is stored inside the JWT token. No need for further database calls.
  • Unmodifiable information, but exposed: Do not put secrets inside JWTs.
  • Compact format: JWTs are really small.
How Does It Work?

Categories: Java

Using Custom Classes as Keys in HashMaps

Java Lobby Announcements - Tue, 2018-04-24 09:01

Today, we are going to discuss what we need to keep in mind when we want to use our custom class as a key in HashMap.

Here, we are considering an Employee class as a key having Id, Name, DateOfBirth, Salary as the properties.

Categories: Java

Reactive Programming With Spring WebFlux

Java Lobby Announcements - Tue, 2018-04-24 06:01

Recently, we have been hearing about a new paradigm of coding that is gaining more and more attention, so-called Reactive Programming. Reactive Programming is a model of coding where communication mainly happens through a non-blocking stream of data. This model of programming makes your code "reactive," reacting to change and not being blocked, such as performing operations that read and waiting for responses from a database or file. Hence, in this manner, we enter in a mode where we are reacting to events as data becomes available. Its principles are based on the Reactive Manifesto.

Backpressure

One important concept is the concept of the backpressure. This is a mechanism that must ensure producers don't overwhelm consumers. So, for instance, if a consumer can't handle more than 100 HTTP requests per second, if this eventually occurs, the consumer must slow the flow, or even stop for a moment, until the situation gets normalized again.

Categories: Java

Waterfall Development | @DevOpsSummit @CollabNet #AI #DevOps #Serverless

JDJ - Mon, 2018-04-23 22:30
Don’t go chasing waterfall … development, that is. According to a recent post by Madison Moore on Medium featuring insights from several software delivery industry leaders, waterfall is – while still popular – not the best way to win in the marketplace. With methodologies like Agile, DevOps and Continuous Delivery becoming ever more prominent over the past 15 years or so, waterfall is old news. Or, is it? Moore cites a recent study by Gartner: “According to Gartner’s IT Key Metrics Data report, the waterfall method as employed on 56% of development efforts in 2015, with iterative methods used in 21% of projects and agile in 23%.” While Agile has been the buzzword of the decade, it seems many organizations still haven’t fully adopted the practice yet. While many cite the fallbacks of waterfall development – no feedback loops, rigid structure and requirements-based development that leads to stalled projects and unhappy customers – it’s not necessarily all bad.

read more

Categories: Java

Understanding Java Keytool Keystore Commands

Java Lobby Announcements - Mon, 2018-04-23 18:01

This guide will help you with the Java Keytool Keystore platform. We will show you which Java Keytool Keystore commands work for which process for certificate management.

This blog is a comprehensive guide on how Java Keytool Keystore commands are used to manage your digital certificate in Keystore. And, ultimately, it becomes a time saver for busy developers.

Categories: Java

DevOps From Planning-to-Ops | @DevOpsSummit @CollabNet #CloudNative #Serverless #DevOps #DigitalTransformation

JDJ - Mon, 2018-04-23 17:30
Without lifecycle traceability and visibility across the tool chain, stakeholders from Planning-to-Ops have limited insight and answers to who, what, when, why and how across the DevOps lifecycle. This impacts the ability to deliver high quality software at the needed velocity to drive positive business outcomes. In his general session at @DevOpsSummit at 19th Cloud Expo, Eric Robertson, General Manager at CollabNet, will discuss how customers are able to achieve a level of transparency that enables everyone from Planning-to-Ops to make informed decisions based on business priority and leverage automation to accelerate identifying issues and fast fix to drive continuous feedback and KPI insight.

read more

Categories: Java

Automated Solutions by @DivvyCloud | @CloudExpo #DevOps #AI #Monitoring

JDJ - Mon, 2018-04-23 16:30
"DivvyCloud as a company set out to help customers automate solutions to the most common cloud problems," noted Jeremy Snyder, VP of Business Development at DivvyCloud, in this SYS-CON.tv interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.

read more

Categories: Java

Why Self-Organization Demands a New Reality | @ExpoDX #DX #ML #Agile

JDJ - Mon, 2018-04-23 15:30
"This all sounds great. But it's just not realistic." This is what a group of five senior IT executives told me during a workshop I held not long ago. We were working through an exercise on the organizational characteristics necessary to successfully execute a digital transformation, and the group was doing their ‘readout.' The executives loved everything we discussed and agreed that if such an environment existed, it would make transformation much easier. They just didn't believe it was realistic.

read more

Categories: Java

DZone Research: The Myriad Uses of Java

Java Lobby Announcements - Mon, 2018-04-23 12:01

To gather insights on the current and future state of the Java ecosystem, we talked to executives from 14 companies. We began by asking, "What are real-world problems being solved by Java today by your organization?" Here's what the respondents told us:

  • Content management, delivery, digital experience. Our platform geared toward a good ROI for web presence and extensibility. Java provides a good foundation to build from. There are a large number of APIs for extensibility.
  • Source code to deploy applications from Git to build, test, deploy a binary package to a Docker image to enable CI/CD.
  • The availability of developers. There are millions of Java developers. The libraries are important. Since the Equifax breach, companies are doing software composition analysis to look for known vulnerabilities. When there’s a known vulnerability, we see widespread attacks within a day. Tooling, manageability, libraries, and frameworks are all strengths of Java.
  • Writing automation tests that test not only how an application functions, but also what an application looks like. This means not just taking the screenshots of the application in various stages of the flow, but also not generating false positives when verifying that it looks the same as it did the last time the test was run successfully.
  • Serverless architecture (FaaS) RIFF from Pivotal. Running serverless on the edge since all of the data is event-driven.
  • Twitter, financial payment systems, automobiles, and artificial intelligence.
  • 1) As a developer of MMOs, Java’s ability to support high-speed concurrent processing is definitely something we take advantage of the most. Today, we can run around 2,000 simultaneous players on a single server which is possible, at least in part, because of Java. For comparison, other languages might only support perhaps 100 people on a server at once. 2) There’s another school of thought that doesn’t leverage concurrent programming and instead uses the database to resolve all concurrent issues. That approach is an order of magnitude slower which in turn makes it an order of magnitude more expensive because databases are really expensive systems. If you look at our datacenter, we spend ten times as much on our database servers than we do on everything else in our datacenter. By taking full advantage of concurrent processing we can reduce our database usage and reduce our overall cost compared to competing, single-threaded solutions.
  • Millions of users. Spring Boot and Spring Cloud integrate with our APIs.
  • One of the things that I am most excited about is using Java with a Function-as-a-Service engine, specifically Apache OpenWhisk.   FaaS will have a notable impact on the way developers build applications moving forward.   FaaS (aka Serverless) should have a bigger impact than the movement to microservices. In addition, some of our most interesting middleware technologies like Apache ActiveMQ Artemis is Java based.  This means Java developers who are leveraging this AMQP (or JMS) focused messaging broker can even run their Java debugger through the broker itself.   I consider that to be a substantial value-add to the average Java developer building their next generation of applications.
  • We enable our customers to keep a full record of what happens. Event sourcing keeps all state changes. Legal proceedings for online gambling, banking, analytics, electronic medical records for research, for compliance framework demands. Automatic tracking. Scalability which is important when you have a large number of transactions. Starting with microservices can be difficult to know where to start. Writing a monolith is hard to scale. Our structured framework goes from monolith to microservices that scale.
  • I'll write a few different use cases since I'm a contractor: 1) automating invoice handling and bookkeeping; 2) building cloud services for connectivity; 3) end-user systems that handle a lot of pressure (load wise)
  • Our product filters profanity from forms and databases for brand and reputation management of retailers, media companies, and data resellers. We also provide ID management for customer identification and access management. Developers are learning not to write this in-house. Passport is a regular security audit solution which scales to millions of customers. Java is particularly good at scaling.
  • Financial services’ feedback and infrastructure is enterprise Java. The preferred frontend UI is .NET and Eclipse. We serve as a very efficient bridge between the front end and the backend. Companies with big Java message services infrastructure want to connect with .NET business logic.

Here’s who we spoke to:

Categories: Java

Introduction to the Scala Type System

Java Lobby Announcements - Mon, 2018-04-23 09:01

As programmers, we often come across a concept called type inference. To begin with, let me clarify that type inference is not something unique to Scala, there are many other languages like Haskell, Rust, and C# that have this language feature. Going by the bookish definition, “Type inference refers to the automatic detection of the data type of an expression in a programming language.” Speaking in layman's terms, it means the language is intelligent enough to automatically deduce the type of the expression, e.g. String, Int, Decimal, etc.

Having learned what type inference is, the next inevitable question is “Why?” The sole purpose of having type inference is to help the programmer avoid verbose typing but still maintain the compile-time type safety of a statically typed language. So speaking simply, type inference is the amalgamation of the best of static and dynamic typing.

Categories: Java

Pages

Subscribe to EGJUG aggregator - Java