Java 9’s other new enhancements, Part 2

See the original posting on JavaWorld

JEP 213: Milling Project Coin defines a set of small language changes for Java 9. Three of these changes are related to the OpenJDK Project Coin-based language changes that debuted in Java 7, and the other two changes are considered Coin-like. This post introduces you to all of these tiny language improvements.

Smoothing Project Coin

JEP 213 broadens the scope of Java 7’s SafeVarargs annotation type and diamond operator while enhancing the try-with-resources statement. This section explores all of these changes.

Allowing SafeVarargs to support private methods

Java 7 introduced the SafeVarargs annotation type for asserting that the bodies of annotated final or static methods, or constructors (which can be seen as a special kind of static method) do not perform potentially unsafe operations on their varargs (variable number of arguments) parameters. Java 9 expands this capability to also include private methods.

To read this article in full or to leave a comment, please click here

14% of Apple iPhone 7 Smart Battery Case White – Deal Alert

See the original posting on JavaWorld

Charge your iPhone and battery case simultaneously, and when you’re on-the-go, enjoy increased talk time up to 26 hours, and internet use up to 22 hours. The case preserves the lightning port so nothing is blocked. On the inside, a soft microfiber lining helps protect your iPhone. With the smart battery case on, the intelligent battery status is displayed on the iPhone lock screen and in notification center, so you know exactly how much charge you have left. The case averages 4 out of 5 stars on Amazon, where its typical list price of $99.99 has been reduced 14% to $84.99. See the discounted Apple charging case on Amazon.

To read this article in full or to leave a comment, please click here

57% off Anker LED Water-Resistant Rechargeable 1300 Lumen Flashlight – Deal Alert

See the original posting on JavaWorld

The high-performance Cree LED XM-L2 chip delivers 50,000 hours of intense brightness at a true 1300 lumens. Sweep bright light beyond the length of two football fields. The Anker Bolder torch has a full range of light modes for every situation: a powerful high-beam, balanced medium-beam, energy-saving & less dazzling low-beam, high-visibility strobe, and emergency SOS. It’s rechargeable battery generates 6 hours of undiminishing light on a charge. It’s body is constructed of professional durable materials, and is IP67 rated for water resistance. Rated 4.5 out of 5 stars from over 100 people on Amazon (84% rate a full 5 — see reviews here), its $112 list price is reduced 57% to just $47.99. See this deal on Amazon.

To read this article in full or to leave a comment, please click here

63% off Jackery Bolt 6,000mAh Power Bank with Built-in Lightning and Micro USB Cables – Deal Alert

See the original posting on JavaWorld

Reduce some of that cable clutter with the ultra compact Jackery Bolt 6,000mAh external battery charger that features a built-in Apple Lighting cable for your iPhone or iPad and a built-in micro-USB cable for other mobile devices. With an additional open USB port you can charge up to 3 devices at once. Powerful 6000 mAh capacity can fully charge an iPhone 6 at up to 3 times.  The Jackery Bolt averages 4.5 out of 5 stars from over 240 people on Amazon (read reviews), where its list price of $69.99 has been reduced 63% down to just $25.99. See the discounted external power bank now on Amazon

To read this article in full or to leave a comment, please click here

Open source users: It’s time for extreme vetting

See the original posting on JavaWorld

Open source software is the norm these days rather than the exception. The code is being written in high volumes and turning up in critical applications. While having this code available can offer big benefits, users also must be wary of issues the code can present and implement proper vetting.

Josh Bressers, cybersecurity strategist at Red Hat, emphasized this point during a recent talk with InfoWorld Editor at Large Paul Krill.

InfoWorld: Why is Red Hat getting on the soapbox about open source security?

Bressers: We’ve been on this soapbox for a long time. Fundamentally, there’s a supply chain with software. In the past, you’ve not really thought of software using the supply chain concept. [In the past, it was thought of as] some dude writes software, and that’s how it is. We’re realizing now that there are vendors, and vendors provide you with a thing that goes into your product and obviously it’s designed in a way that with a supply chain if you use low-quality parts, by definition, you’re only going to get a low-quality product out the other side.

To read this article in full or to leave a comment, please click here

38% Apple USB-C Digital AV Multiport Adapter – Deal Alert

See the original posting on JavaWorld

32% off JBL Charge 3 Waterproof Portable Bluetooth Speaker – Deal Alert

See the original posting on JavaWorld

JBL Charge 3 is the ultimate, high-powered portable Bluetooth speaker with powerful stereo sound and a power bank all in one package. The Charge 3 takes the party everywhere, poolside or in the rain, thanks to the waterproof design, durable fabric and rugged housing. Its high-capacity 6,000mAh battery provides 20 hours of playtime and can charge your smartphones and tablets via its USB output. A built-in noise and echo-cancelling speakerphone gives you crystal clear calls with the press of a button. Wirelessly link multiple JBL Connect-enabled speakers to amplify the listening experience. The Charge 3 currently averages 4.5 out of 5 stars on Amazon from over 1,140 people (read reviews), and its typical list price of $180 has been reduced to $123. See it now on Amazon.

To read this article in full or to leave a comment, please click here

27% off HAVIT 3-Fan USB Powered Laptop Cooling Pad – Deal Alert

See the original posting on JavaWorld

With a thin body and light weight design, the USB-powered Havit HV-F2056 cooling pad allows you to take it wherever you go and cool your laptop anytime you want. Three ultra-quiet fans create a noise-free environment, and a high-quality multi-directional metal mesh provides your laptop with a wear-resistant and stable laptop carrying surface. A built-in dual-USB hub allows for connecting more USB devices. The cooling pad from HAVIT averages 4.5 out of 5 stars from over 3,500 people on Amazon (read reviews). Its typical list price of $29.49 has been reduced 27% to $21.49. See it now on Amazon.

To read this article in full or to leave a comment, please click here

JavaScript spec adds async functions, shared memory

See the original posting on JavaWorld

A few months before its expected approval, ECMAScript 2017, the latest official specification underlying JavaScript, has been fleshed out with async functions and shared memory capabilities.

ECMAScript 2017 is due to be finalized in June, in line with a release cadence that has seen midyear upgrades recently. “Async functions are a terrific tool for writing asynchronous code, and SharedArrayBuffer (shared memory) will enable library authors to experiment with real multiprocessing in JavaScript,” said blogger Axel Rauschmayer, who follows JavaScript’s development.

To read this article in full or to leave a comment, please click here

43% off Caller-ID Call Blocker For Robo-calls, Telemarketers and Other Nuisances – Deal Alert

See the original posting on JavaWorld

Just hit the big red “block now” button and say goodbye to robocalls, telemarketer calls, solicitor calls, elections calls, junk faxes or anyone else you’d prefer not to hear from. This small and discreet gadget can also block international and private numbers, as well as full area codes. It has a 1,000 number/area code memory with 200 numbers pre-programmed. The popular gadget averages 4.5 out of 5 stars from over 3,350 people on Amazon (73% rate 5 stars — read recent reviews here), where its original list price is reduced 43% to $79.99. See the discounted 1,200 number call-blocker on Amazon.

To read this article in full or to leave a comment, please click here

60% off YOCOU 5-Channel Cable Management System, 6-piece – Deal Alert

See the original posting on JavaWorld

Twisted, tangled cords and wires are an eyesore. Organize your space with this simple 6-piece cable management system that works for power cords, charging cables, USB cords, phone chargers, audio cables, headphones, or any other wire up to 1/4-inch diameter. The cord organizers are made of a soft, flexibile material, will not damage your desk and cables, also you can remove it easily without damage or residue. The bundle includes four 5-channel clips (two black and two white), one single-slot clip and one double-slot clip as well. Its list price of $20 is discounted to $8. See it on Amazon.

To read this article in full or to leave a comment, please click here

50% off Logitech G602 Gaming Wireless Mouse with 250 Hour Battery Life – Deal Alert

See the original posting on JavaWorld

With up to 250 hours of battery life, G602 redefines the laws of wireless gaming. From the pinpoint accuracy of the exclusive Delta Zero sensor technology to the extra high durability primary switches, you can count on G602 to dominate boss after boss.  

The Logitech G602 gaming mouse averages 4.3 out of 5 stars from over 2,000 reviewers on Amazon (see reviews), where their typical list price of $79.99 has been reduced to $39.99. See the deal now on Amazon.

To read this article in full or to leave a comment, please click here

17% off MAXSA Innovations Park-Right Laser Garage Parking Device – Deal Alert

See the original posting on JavaWorld

An innovative and unique device to help you park your cars, Park-Right automatically shines a laser on your car to guide you to the perfect parking spot every time. Simply drive into your garage and follow the laser. Once the laser is shining on the designated spot on your car, you are parked perfectly. The lasers are adjustable, allowing you to pick the ideal location on your car, so parking is consistent and accurate. Right now this parking gadget averages 4.5 out of 5 stars on Amazon from over 1,300 reviewers (read reviews). It’s discounted 17% off its typical list price of $25, so you can save a few bucks and pick it up for $20.68. See this deal on Amazon.

To read this article in full or to leave a comment, please click here

Prime Members get 35% off Samsung Gear 360, 360-degree High-Res VR Camera – Deal Alert

See the original posting on JavaWorld

The Gear 360 is smaller than a baseball, so you can just hold it and shoot. Or set it down on the included tripod and live in the moment. Look all around you — that’s what you capture with the Gear 360. Every angle, all at once, every time. Play videos back, trim and instantly share your creation on YouTube, Facebook or Samsung VR. Right now, if you’re an Amazon Prime member (or have a free trial, located right here) the Gear 360 is significantly discounted from its typical list price of $350. With the current 35% off deal you can get it now for just $225.99 on Amazon, where it averages 4 out of 5 stars (read recent reviews).  See the discounted Samsung Gear 360-degree camera now on Amazon.

To read this article in full or to leave a comment, please click here

47% off HyperX Cloud Gaming Headset for PC, Xbox One, PS4 (White) – Deal Alert

See the original posting on JavaWorld

Let your opponents take the blows while you game without pain. HyperX Cloud cradles your head in a super-soft padded headband, memory foam ear cushions and leatherette-padded cups so even your late game will be comfortable. It’s affordable, so there’s no pain in the price either.  Pro-gaming optimized, HyperX Cloud is HiFi capable and delivers intense audio with crystal-clear low, mid and high tones plus enhanced bass-reproduction so you can lose yourself while you win. Plus you’ll look sharp while playing, thanks to the unique HyperX design.

The headset averages 4.3 out of 5 stars from over 3,400 reviewers on Amazon (see reviews), where their typical list price of $149.99 has been reduced to $79.99. See the deal now on Amazon.

To read this article in full or to leave a comment, please click here

33% off CanaKit 5V 2.5A Raspberry Pi 3 Power Supply / Adapter / Charger – Deal Alert

See the original posting on JavaWorld

2.5A is now a requirement for the Raspberry Pi 3. The CanaKit 2.5A Raspberry Pi power supply / adapter has been specially designed and tested for the new Raspberry Pi 3 and incorporates an inline noise filter for highest stability and reliable operation. This power supply differs from typical standard 5V USB power supplies in the market in that it can deliver a full 2.5A and still output a voltage well within the USB minimum voltage specifications. Standard 5V USB power supplies in the market have a high voltage drop when the full current is drawn from them which may cause the Raspberry Pi to reboot unexpectedly. With this power supply, you can power the Raspberry Pi 3 at full load as well as up to 1.2A across the four USB ports. This item averages 4.5 out of 5 stars from over 760 people on Amazon (read reviews). With the current 33% off deal, the CanaKit power supply is listed for just $9.99. See it on Amazon.

To read this article in full or to leave a comment, please click here

Oracle bets Java EE future on REST APIs

See the original posting on JavaWorld

Oracle is banking on REST and JSON to modernize Java EE for microservices and the cloud.

It may seem like ages since REST stole thunder from SOAP as a mechanism for providing web services communications. REST, in conjunction with JSON and HTTP, proved a far simpler means for delivering web services than SOAP, which has long been criticized for complexity.

Fast-forward to the present, and Oracle is now positioning REST and JSON as critical cogs in its Java EE upgrade plans. The company began retooling Java EE for microservices and cloud platforms last year, after community protests that Oracle had been neglecting the enterprise platform. The initial result of those plans, Java EE 8, is due this October.

To read this article in full or to leave a comment, please click here

50% off Watch Dogs 2, Playstation 4 – Deal Alert

See the original posting on JavaWorld

Explore the birthplace of the tech revolution as Marcus Holloway, a brilliant young hacker who has fallen victim to ctOS 2.0’s predictive algorithms and accused of a crime he did not commit. In Marcus’ quest to shut down ctOS 2.0 for good, hacking is the ultimate weapon. Players can not only hack into the San Francisco Bay Area’s infrastructure but also every person and any connected device they possess to trigger unpredictable chains of events in this vast open world. Watch Dogs 2 for the Playstation 4 is currently discounted 50% off its list price on Amazon, so you can pick it up for just $29.99. See this deal on Amazon.

To read this article in full or to leave a comment, please click here

25% off Logitech Professional Presenter R800, Presentation Wireless Presenter with Laser Pointer – Deal Alert

See the original posting on JavaWorld

The Logitech Professional Presenter R800, with a brilliant green laser pointer, puts you in complete control of your presentation and makes it easy to direct your audience’s attention to specific information from across the room – even on flat panel displays and in brightly lit rooms. To keep you focused on the crowd and not the clock, the Professional Presenter R800 provides an easy-to-set timer with silent, vibrating alerts. When you’re moving around the room to engage your audience, at a range of up to 100 feet (30 meters), a reception – level indicator on the LCD keeps you from wandering too far. The intuitive slideshow controls help you find buttons easily by touch, and the compact design allows you to take it with you wherever you go.  

To read this article in full or to leave a comment, please click here

Java 9’s other new enhancements, Part 1

See the original posting on JavaWorld

Barring further delays, Java 9 will reach general availability status on July 27. Its module system and Java Shell Read-Eval-Print Loop (REPL) tool are receiving considerable attention, but Java 9 also offers additional enhancements that will make this release memorable.

I’ve created a series of posts that explores some of these other new enhancements. This series attempts to answer at least some of your questions about these offerings. We’ll begin by focusing on the new convenience factory methods that have been added to various interfaces in the Java Collections Framework.

1 2 3 4 5 41