Oracle Blogs | The Java Source Oracle Blogs
2019 Duke's Choice Award Nominations
par Yolande Poirier le 27 juin 2019 à 18 h 10 min
The Duke's Choice Award is dedicated to all members of the Java ecosystem! In keeping with its 17-year history, the 2019 Duke's Choice Award winners will be announced at Code One, the world's biggest Java technology conference and gathering of Java community members. The Duke's Choice Award celebrates extreme innovation using Java technology. The primary judging criterion for this prestigious award is innovation, putting small developer shops and individual developers on an equal footing with global giants. Nominations are accepted by everyone (including Oracle employees) for anyone (including self-nominations) of a project, person, product, service or any program related to Java innovation. 2019 Duke's Choice Award winners will be provided an Oracle Code One full conference pass, Duke statue, 2019 winner badge, and inclusion in Oracle corporate social media programs. Most rewarding of all, Duke’s Choice Award winners receive community recognition as elite members of the vast Java ecosystem. Take a look at the winning projects from previous years. Submit your nominations by August 9th! Join us at Oracle Code One and meet the winners!&nbs […]
Java Magazine on Containers
par Yolande Poirier le 12 juin 2019 à 14 h 06 min
By Java Magazine Editor Andrew Binstock In our previous issue, we explored the use of lightweight frameworks— Javalin, Micronaut, and Helidon—to create microservices, which typically are deployed in the cloud. In that issue’s article on Helidon, we also showed how to package a service into a Docker container for deployment. In this issue, we continue the theme by examining how to build apps with containers in mind and how to deploy containers. For straight Java apps, the jlink and jdeps tools are excellent solutions for creating modularized, small, self-contained apps. We discuss how to use those tools on page 25. If very fast startup time is a concern, then consider the GraalVM platform. It is written in Java but compiles Java code to an executable format. We’ve discussed GraalVM in past issues, but this article focuses on the latest features and their use in creating small executables with native-code startup speed. Finally, if you’re straddling the Dev and Ops sides of DevOps, you surely have seen that most containers are managed with the open source Kubernetes platform. In our lead feature, we give you a full introduction to Kubernetes and all the information you need to start working with managing your containerized apps. In addition, we explore what’s new in the recent release of Java 12, and we examine a major upgrade to Java Card, which in all senses is the very smallest container for a Java app. In addition, we have our usual quiz and our events calendar. Finally, future issues of this magazine will look materially different from what you’re used to. Please see the editorial in this issue for details […]
Java Magazine on Lightweight Frameworks
par Yolande Poirier le 5 mars 2019 à 15 h 26 min
By Java Magazine Editor Andrew Binstock Running Fast and Light Without All the Baggage The emergence of microservices as the new architecture for applications has led to a fundamental change in the way we use frameworks. Previously, frameworks offered an omnibus scaffolding that handled most needs of monolithic applications. But as microservices have gained traction, applications now consist of orchestrated containers, each performing a single service. As such, those services require far less scaffolding—favoring instead lightweight frameworks that provide basic connectivity and then get out of the way. In this issue, we examine three leading frameworks for microservices: Javalin (page 13), which is a very lightweight, unopinionated Kotlin-based web framework; Micronaut (page 23), which handles all feature injection at compile time and so loads extremely fast; and Helidon (page 34), which is a cloud native framework that generates a pure Java SE JAR ile that can be run as a service or a complete app. Helidon comes in two flavors: a minimal framework and a slightly heftier one for developers wanting additional services. In addition to these articles, we continue with the final installment of our series on Java design patterns—this time covering the Proxy pattern (page 53), with practical examples and coverage of the rarely discussed dynamic proxy feature in a little-used corner of the Java language. Ben Evans examines a common optimization in VMs, loop unrolling (page 62), and explains the subtle reason why loops on the JVM will execute more slowly if they’re indexed by longs rather than ints. And of course we have our quiz—somewhat expanded for this issue (page 81)—and our book review (page 7).&nbs […]
30 New Java Champions Confirmed in 2018
par Vincent Mayers le 8 février 2019 à 14 h 38 min
Java Champions have had an incredibly busy 2018. They have supported their communities by giving over 1400 talks at conferences and user group meetings in over 60 countries. The efforts of these community experts sharing their knowledge around the would influence countless others, professional engineers and students new to the craft to think in new ways, apply new solutions to problems and enhance, not only the commerce of the organizations they work for but also their own professional growth. We have also welcomed 30 new Java Champions to the program in 2018, including new members from countries as diverse as Japan, India, South Africa, and New Zealand. Alberto Salazar Alex Theedom Bethan Palmer Christoph Engelbert Claus Ibsen Daniel Bryant Donald Raab Ivan St. Ivanov Jean-Francois Arcand Jim Manico Jonathan Giles Jose Diaz Julien Dubois Ken Fogel Koichi Sakata Mala Gupta Mani Sarkar Michael Hunger Michael Minella Michael Simons Miroslav Wengner Nikhil J. Nanivadekar Nitsan Wakart Rafael Chinelato Del Nero Rahman Usta Ray Tsang Roy van Rijn Shin Tanimoto Tomasz Nurkiewicz Victor Orozco Viktor Klang The full bios of these and all other Java Champions may be found here Information about the Java Champions Program can be found here&nbs […]
Using JShell with NetBeans
par Yolande Poirier le 17 janvier 2019 à 4 h 27 min
By Guess Blogger Deepak Vohra Java Shell (or JShell) is a new tool introduced in Java 9 for running standalone code snippets. JShell in NetBeans is explored in six articles. The first article introduces JShell with NetBeans including how to access the JShell. JShell-only commands such as /list and /save are shell commands to facilitate the use of the tool. The first article discusses how to run code snippets to import a package or a type. Further, the first article discusses declaring and using variables explicitly. The second article continues with declaring and using variables; implicit variables. Further, code snippets for String comparison and statements are run in the second article. Resetting JShell is also discussed in the second article. The third article is all about running code snippets for methods in JShell. Modifying method definition, method overloading, and making a forward reference to a method are discussed as used in JShell. Some JShell specific features for methods are also discussed including listing code snippets for methods, and method modifiers not permitted in a top-level method declaration. The fourth article is mainly about running code snippets for classes in JShell including declaring a class, modifying a class, using class constructors, extending a class and overriding methods. Further, interfaces, arrays and unchecked exceptions are also discussed. The fifth article discusses running code snippets for enums and the various control flow statements. The sixth article discusses lambda expressions, in addition to discussing saving and loading code snippets in JShell. Using JShell in Java 9 in NetBeans 9.0, Part 1 Using JShell in Java 9 in NetBeans 9.0, Part 2 Using JShell in Java 9 in NetBeans 9.0, Part 3 Using JShell in Java 9 in NetBeans 9.0, Part 4 Using JShell in Java 9 in NetBeans 9.0, Part 5 Using JShell in Java 9 in NetBeans 9.0, Part 6 […]
Java Magazine New Edition: Java Present and Future
par Yolande Poirier le 21 novembre 2018 à 16 h 36 min
There is a lot happening in Java, and in this issue we do our best to make the state of Java as clear as possible. We begin with a survey (page 15) of Java developers. The survey covers JDK, tools in use, processes, and finally a profile of Java developers. We follow that up with a look at Java 11 (page 39), which was released in September: what’s in this release that you need to know about—such as changes to lambda syntax, a new HTTP client, and the updated WebSocket interface. The Java 11 release was the first in several years not to include JavaFX, which has been spun out from the JDK. This means that JavaFX can evolve on its own timeline, which is discussed (page 62) by Johan Vos, one of its principal developers. We also examine upcoming technology from the Valhalla project (page 56), which promises to make it far easier and faster to access primitive data types. This performance enhancement will be particularly welcome when accessing objects in arrays, as Ben Evans explains in his deep look inside the JVM. Finally, the product management team for Java explains recent changes (page 52) to the licensing model. In addition, we have a deep dive into the decorator design pattern (page 67), our quiz (page 78), and our book review (page 8), as well as our calendar of upcoming developer conferences and […]
Announcing 2018 Duke's Choice Award Winners
par Yolande Poirier le 24 octobre 2018 à 0 h 57 min
In keeping with its 16-year history, the 2018 Duke's Choice Award winners were announced at the Groundbreakers Hub at Code One. The winners include JPoint, a self-driving car; community winners BgJUG (the Bulgarian JUG) . Among the winners announced were also tools from ClassGraph, Twitter4J, Apache NetBeans and Jelastic vertical memory scaling along with open source initiatives, MicroProfile.IO and Project Helidon. Apache NetBeans - Toni Epple, Constantin Drabo, Mark Stephens An integrated development environment (IDE) for Java. NetBeans allows applications to be developed from a set of modular software components and runs on Microsoft Windows, macOS, Linux, and Solaris. Bulgarian Java User’s Group, BgJUG - Dmitry Alexandrov, Nayden Gochev, Ivan St. Ivanov, Mihail Stoynov, Martin Toshev The BgJUG deserves recognition for their mastery of two pillars: the technical side and the community. Influencing the adoption of Java for more than 10 years, the group organizes highly effective events regularly. The passion, dedication, and professionalism at BgJUG are highly contagious. The human aspect, the empathy, the collaborative nature, and the diversity this team consistently promotes is very refreshing. ClassGraph - Luke Hutchison ClassGraph is an uber-fast parallelized classpath scanner, module scanner, and build-time/runtime annotation processor for JVM languages. ClassGraph directly parses class files to build a graph of the relatedness of all visible classes, methods, fields, and annotations, and this graph can be queried or visualized in a wide range of ways, bringing valuable meta programming features to the JVM ecosystem. Jelastic - Ruslan Synytsky Elastic JVM with Automatic Vertical Memory Scaling allows the JVM to dynamically adjust the maximum memory limit for running Java process without JVM restart, and releases unused memory back to the host machine to save money for companies running workloads in the cloud. JPoint - Bert Jan Schrijver An autonomous driving vehicle created with Raspberry Pi, an RPi camera, Vert.x (the reactive toolkit for the JVM), and the OpenCV Java bindings. MicroProfile.io The MicroProfile project fills a gap in the Java EE ecosystem, allowing developers and vendors to develop and deploy simple, low-profile microservices developed on the Java EE/Jakarta EE Platform. Project Helidon - Joe DiPol A set of Java libraries for writing microservices, Helidon supports two programming models. Helidon MP implements MicroProfile for developers familiar with Java EE, and Helidon SE provides a functional and reactive-style API. Both are powered by Netty. Twitter4J - Yusuke Yamamoto A library based on OAuth, REST API, JSON, and HTTP/2 technology that helps integrate microblogging service in a type-safe way. &nbs […]
How to Develop Modules with Eclipse IDE
par Yolande Poirier le 18 octobre 2018 à 20 h 47 min
The Java Platform Module System (JPMS) main goal is to make it easier to construct and maintain Java libraries and large applications. You will also experience improved application performance by scaling down the Java SE platform and JDK. In a series of five tutorials, Deepak Vohra explains how to use the module system in your applications. He walks you through setting up your environment, creating classes within modules, configuring VM Args for your module path and running your application. Your application will be portable when you use a module as a JAR file. Deepak explains how to create and export a Java project as a JAR file using Eclipse IDE. The tutorial is a step-by-step guide from setting up your environment to running your application. With the JPMS, you still need to manage your application dependencies, including third-party application dependencies. The last two tutorials detail how to create a module which depends on another module’s dependencies. To use multiple modules, you need to create multiple Java projects in Eclipse because Eclipse does not allow creating multiple modules in one project. The last article describes how to configure the two Java projects and run the main module application to demonstrate module dependency. Links to the 5 articles: Developing a Module with Java 9 in Eclipse IDE, Part 1Developing a Module with Java 9 in Eclipse IDE, Part 2Using a Java 9 Module as a JAR FileUsing Module Dependencies, Part 1Using Module Dependencies, Part 2 […]
Updates to the Java SE Platform
par Yolande Poirier le 16 octobre 2018 à 20 h 48 min
OpenJDK provides production-ready open-source builds of the Java Development Kit, version 11, an implementation of the Java SE 11 Platform under the GNU General Public License, version 2, with the Classpath Exception. JDK 11.0.1 Download JDK 11.0.1 Release Notes License Java SE 11.0.1 is the latest update to the Java Platform. Java SE 11 is the first Long Term Support feature release for the Java SE Platform Java SE 11.0.1 release notesJava SE 11.0.1 (LTS) download Java SE 8u191 (Java SE 8 update 191) and Java SE 8u192 (Java SE 8 update 192) are now available. Oracle strongly recommends that most Java SE users upgrade to the latest Java 8 update, which includes important security fixes. Oracle will not post further updates of Java SE 8 to its public download sites for commercial use after January 2019. For information on new features and bug fixes included in this release, please read the Java SE 8u191 and Java SE 8u192 release notes. Oracle Java SE Embedded Version 8 Update 191 is also available. You can create customized JREs using the JRECreate tool. To get started, download an eJDK bundle suitable for your target platform and follow instructions to create a JRE that suits your application's needs. Oracle Java SE 8 Embedded is the final major release of the Oracle Java SE Embedded product. Starting with JDK 9, Oracle doesn't plan to offer a separate Java SE Embedded product download. Also released are Java SE 7u201 and Java SE 6u211, which are both available as part of Oracle Java SE Support. For more information about those releases, please read the following release notes: Java SE 7u201 Release NotesJava SE 6u211 Release Notes &nbs […]
Working On the Leading Edge
par Yolande Poirier le 19 septembre 2018 à 16 h 00 min
Few programming languages make it past 20 years and still retain high popularity. But Java has managed to remain widely used in many contexts because of its evolution—not just of the language, but of the larger direction of the ecosystem. None of this is clearer than in the advent of GraalVM, an ahead-of-time native compiler for Java code that coincidentally is written in Java and supports many other languages—both JVM-based and native. To understand how to use Graal for your own projects, see our article on page 17. In the enterprise, Java EE has moved out from Oracle’s aegis and is now hosted at the Eclipse. Foundation under the name of Jakarta EE, which we examine in detail (page 26) in anticipation of its upcoming 1.0 release. Much of Java’s success comes from new tools contributed as open source. Hystrix from Netflix is an excellent library for assuring uptime in distributed apps— especially microservices. Our coverage of Hystrix (page 37) shows its benefits and elegance of implementation. Finally, we look at one of the most exciting platform developments: running Java apps on power-sipping ARM processors. As our article (page 54) demonstrates, migration of existing code is not difficult, and on recent chip releases, it does not entail a compromise on performance. We also include the next installment (page 66) of our series on design patterns, this time covering the Visitor pattern. And of course, this issue includes our usual quiz (page 76), editorial (page 5), and a book review (page 8) of an unusually interesting volume. Previous edition of Java Magazine on Libraries, Choosing The Right One&nbs […]
27001Academy ISO 27001 and ISO 22301 – Documentation and Professional Guidance
Why is it important for your hosting partner to be certified against ISO 27001?
le 2 juillet 2019 à 15 h 20 min
When it comes to choosing suppliers and service providers for your company, you should work with the utmost care. As we will discuss in this article, your company’s success – and even its survival – may depend on it. Today, we take a closer look at why you should go ... The post Why is it important for your hosting partner to be certified against ISO 27001? appeared first on 27001Academy. […]
What do the ISO 27001 requirements and structure look like?
le 3 juin 2019 à 15 h 55 min
The ISO 27001 standard offers requirements and a structure that will provide guidance in implementing an Information Security Management System (ISMS). As a management system, ISO 27001 is based on continuous improvement – in this article, you will learn more about how this is reflected in the ISO 27001 requirements ... The post What do the ISO 27001 requirements and structure look like? appeared first on 27001Academy. […]
ISO 27001 for startups – is it worth investing in?
le 21 mai 2019 à 13 h 36 min
In the days of data breaches and growing public awareness of data protection, startups should take information security seriously. Most startups also need to generate revenue quickly, so securing growth and revenue are their main objectives since everything centers around the idea of bringing a product to the market and ... The post ISO 27001 for startups – is it worth investing in? appeared first on 27001Academy. […]
ISO 27001 vs. COBIT: A comparison
le 6 mai 2019 à 12 h 58 min
We often come across discussions related to comparisons of different governance standards and frameworks, such as ISO 27001 and COBIT. ISO 27001 focuses on information security controls, while on the other hand, COBIT, which is a governance framework, also includes some ISO 27001-related topics such as security, risks, managing changes, ... The post ISO 27001 vs. COBIT: A comparison appeared first on 27001Academy. […]
What to include in an ISO 27001 remote access policy
le 23 avril 2019 à 13 h 32 min
In this era of data-driven IT, managing and securing your data / information has become the most integral part of running your business. In the article below, we will take you through the best practices to consider for an ISO 27001-compliant remote access policy and effective implementation of information security controls. ... The post What to include in an ISO 27001 remote access policy appeared first on 27001Academy. […]
A success story about implementation of ISO 27001 and 9001: How online platform Doccle did it
le 8 avril 2019 à 12 h 49 min
Is it possible for a SaaS company to implement ISO standards, and how and why should SaaS companies get certified? On your way to success, this is an important step, and this is just what Doccle did, when it broke out as a unique digital player in Belgium and beyond. ... The post A success story about implementation of ISO 27001 and 9001: How online platform Doccle did it appeared first on 27001Academy. […]
What are the benefits of security awareness training for organizations?
le 27 mars 2019 à 13 h 10 min
When learning about information security, we become broadly aware of general risks to information plus basic controls through a gradual and widespread educational process, sometimes supplemented with more intensive training in specific areas (such as how to respond to security warnings, and how to recognize and handle privacy issues). This ... The post What are the benefits of security awareness training for organizations? appeared first on 27001Academy. […]
How ISO 27001 and TISAX are related
le 11 mars 2019 à 12 h 38 min
You probably know what ISO 27001 is, because it is an international standard, very popular in the information security sector, that helps organizations of all sectors to protect their information. But, did you know that the automotive industry is also interested in information security, and that they even have their ... The post How ISO 27001 and TISAX are related appeared first on 27001Academy. […]
The most common physical and network controls when implementing ISO 27001 in a data center
le 26 février 2019 à 14 h 23 min
Security controls for Data Centers are becoming a huge challenge due to increasing numbers of devices and equipment being added. In this article you will see how to build an ISO 27001 compliant Data Center by identification and effective implementation of information security controls. The article summarizes ISO 27001 Data ... The post The most common physical and network controls when implementing ISO 27001 in a data center appeared first on 27001Academy. […]
Why is ISO 27001 applicable also for paper-based information?
le 21 janvier 2019 à 14 h 42 min
Although digital information has become the generally accepted standard for handling information, there might be situations where organizations still use paper-based information, and this documentation also must be protected according to its sensitivity and importance to the business. While it may be perceived more as a standard related to digital ... The post Why is ISO 27001 applicable also for paper-based information? appeared first on 27001Academy. […]
Announcements General annoucements for example new Proxmox products, updates, improvements, events, and so on.
Proxmox Mail Gateway 6.0 beta released!
par email@example.com (martin) le 20 août 2019 à 14 h 45 min
We're really excited to announce the first beta release of Proxmox Mail Gateway 6.0! The full release notes will be available together with the final release announcement.Here are the highlightsBased on Debian 10 Buster Updated SA rules Updated kernel (5.0.18) and include latest security fixes Improved installation with ZFS on EFI and/or NVMe Upgrade path from 5 to 6 Bug fixes and improvements Download...Proxmox Mail Gateway 6.0 beta released! […]
Proxmox VE 6.0 released!
par firstname.lastname@example.org (martin) le 16 juillet 2019 à 11 h 06 min
We're excited to announce the final release of our Proxmox VE 6.0! It's based on the great Debian 10 codename "Buster" and the latest 5.0 Linux kernel, QEMU 4.0, LXC 3.1.0, ZFS 0.8.1, Ceph 14.2, Corosync 3.0, and more. This major release includes the latest Ceph Nautilus feautures and an improved Ceph management dashboard. We have updated the cluster communication stack to Corosync 3 using Kronosnet, and have a new selection widget for the network making it simple to select the correct link...Proxmox VE 6.0 released! […]
Proxmox VE 6.0 beta released!
par email@example.com (martin) le 4 juillet 2019 à 18 h 50 min
We're happy to announce the first beta release for the Proxmox VE 6.x family! It's based on the great Debian Buster (Debian 10) and a 5.0 kernel, QEMU 4.0, ZFS 0.8.1, Ceph 14.2.1, Corosync 3.0 and countless improvements and bugfixes. The new installer supports ZFS root via UEFI, for example you can boot a ZFS mirror on NVMe SSDs (using systemd-boot instead of grub). The full release notes will be available together with the final release announcement. This Proxmox VE release is a beta...Proxmox VE 6.0 beta released! […]
Proxmox VE 5.4 released!
par firstname.lastname@example.org (martin) le 11 avril 2019 à 10 h 02 min
We are very pleased to announce the general availability of Proxmox VE 5.4. Built on Debian 9.8 (Stretch) and a specially modified Linux Kernel 4.15, this version of Proxmox VE introduces a new wizard for installing Ceph storage via the user interface, and brings enhanced flexibility with HA clustering, hibernation support for virtual machines, and support for Universal Second Factor (U2F) authentication. The new features of Proxmox VE 5.4 focus on usability and simple management of the...Proxmox VE 5.4 released! […]
Proxmox Mail Gateway 5.2 available
par email@example.com (martin) le 26 mars 2019 à 13 h 59 min
We are very excited to announce the general availability of Proxmox Mail Gateway 5.2! The Mail Gateway has been updated with all Debian security updates and with a 4.15 kernel. The improved quarantine web interface allows multi-selection of items and you can download emails in .eml format. Version 5.2 comes with a new mobile interface for the quarantine, based on Framework7. We have improved the Message Tracking Center easing the debugging and rule setting. With the new appliance template...Proxmox Mail Gateway 5.2 availab […]
Proxmox VE 5.3 released!
par firstname.lastname@example.org (martin) le 4 décembre 2018 à 10 h 17 min
We are very excited to announce the general availability of Proxmox VE 5.3! Proxmox VE now integrates CephFS, a distributed, POSIX-compliant file system which serves as an interface to the Ceph storage (like the RBD). You can store backupfiles, ISO images, and container templates. CephFS can be created and configured easily with its Metadata server (MDS) in the GUI. We improved disk management and you can now add ZFS raid volumes, LVM, and LVMthin pools as well as additional disks with a...Proxmox VE 5.3 released! […]
Proxmox Mail Gateway 5.1 available
par email@example.com (martin) le 9 octobre 2018 à 12 h 27 min
We are glad to announce the general availability of Proxmox Mail Gateway 5.1. We have updated the Mail Gateway with all Debian security updates and with a 4.15 kernel. The new version 5.1 comes with many bug fixes and smaller GUI improvements like the new Transport Layer Security (TLS) policy providing certificate-based authentication and encrypted sessions.Download Proxmox Mail Gateway 5.1https://www.proxmox.com/en/downloads/item/proxmox-mail-gateway-5-1-iso-installer...Proxmox Mail Gateway 5.1 availab […]
Proxtalks 2018 in Frankfurt
par firstname.lastname@example.org (martin) le 8 octobre 2018 à 8 h 59 min
On October 24 the annual Proxmox VE conference will take place in Frankfurt (Germany). The event is organised by our Proxmox partner stacktrace GmbH and officially sponsored by Proxmox. Proxtalks is the German conference for users, system adminstrators/architects, and developers to learn about exciting Proxmox VE use cases and success stories, and to get updates on the future Proxmox VE development. This year Proxmox developers will give a preview on the upcoming release Proxmox VE 5.3, and...Proxtalks 2018 in Frankfurt […]
Proxmox VE 5.2 released!
par email@example.com (martin) le 16 mai 2018 à 13 h 56 min
We are very excited to announce the general availability of Proxmox VE 5.2! The new GUI tools for creating Proxmox VE Clusters and the Let´s Encrypt Certificate Management can save you a lot of time if you install and manage several clusters. Cloud-init, Samba/CIFS storage plugin, improved Xterm.js, I/O limits for restore job, ... and more! Including updates of all important packages, 4.15 kernel, qemu 2.11, lxc 3.0 ... And countless bugfixes and improvements on a lot of places...Proxmox VE 5.2 released! […]
Proxmox VE is 10 years old!
par firstname.lastname@example.org (martin) le 16 avril 2018 à 12 h 54 min
It's hard to believe that Proxmox VE is ten years old today, and how popular it has become! When Proxmox VE was first released in 2008, there was no management interface available for managing KVM and OpenVZ. Proxmox VE was designed to meet that need, and over the years it has added so many more features and scaled to meet the demands of enterprises and users alike who want an open-source platform to manage their virtualized IT infrastructure in a 100% software-defined data center. We were...Proxmox VE is 10 years old! […]