Wednesday Sep 10, 2014

Why Another MVC?

In this new article, JavaServer Faces (JSF) spec lead Ed Burns explains two kinds of model view controller (MVC) as part of the JSF framework. The article's goal is to show the continued commitment to JSF evolution and to clarify the complementary usages of these two view technologies.


The two kinds of MVC in question are UI component oriented MVC and action oriented MVC. This article first goes over these two different styles of MVC, then explains the rationale for filing a separate JSR for MVC 1.0 and explains how this new specification will relate to the next version of JSF. 

If you attend JavaOne, you find many JavaOne sessions about JSF


Thursday Sep 04, 2014

Interview with Nikita Salnikov-Tarnovski

Nikita Salnikov-Tarnovski is the co-founder of Plumbr, the memory leak detection product. Besides his daily technical tasks he is an active blogger, a JavaOne RockStar and a frequent conference speaker at Devoxx, JavaOne Russia, 33rd Degree, TopConf, JavaDay, GeekOut, Joker, and Jazoon.

Q: What are your JavaOne sessions about this year?

Salnikov-Tarnovski: My two talks are about identifying and solving memory leaks in applications, one conference session titled “keep memory leaks at bay” and one tutorial called “where is my memory.” Both sessions relate to how Java applications consume and use memory while running. I will discuss how to monitor your production environment; how to detect memory leaks and other memory inefficiencies; what to do if your application fails because of memory leak or becomes unbearable slow due to Garbage Collection taking too long, and so on.

Q: Are you giving tips and tricks during those sessions on how they can use Plumbr’s product?

Salnikov-Tarnovski: Last year, I talked about Java memory leaks and I used our product to present solutions. This year, I will talk about general methodology and techniques on how these problems can be detected and solved with the aid of the best tools on the market including our tool and any other freely available tools.

Q: Why are memory leaks important?

Salnikov-Tarnovski: Memory leaks are one of the top reasons why Java applications crash in production. Other memory related problems, such as inefficient Garbage Collection can make your application just stall for some arbitrarily long time. And your clients will be effected. E.g. when you hit the search button on Amazon.com and this all of a sudden takes too long, it is probably because GC kicked in and said: “Wait some 10 seconds, I will look for some garbage”.

Q: Aside from your sessions, what do you have planned for JavaOne?

Salnikov-Tarnovski: The main reason why I attend conferences - apart from talking about our product, of course – is to meet the many bright speakers and attendees. When you're a senior engineer with 12 years of experience, you want to go to conferences like JavaOne to meet your peers - people who are smarter than you- because you can learn a lot from them. You can discuss your problems and get feedback, and share your ‘war’ stories. This is the main reason why I attend conferences and I advise all my fellow engineers to go to JavaOne and other Java conferences. I'm planning to go to Java conferences as long as I am in this profession.

Learn more about Core Java sessions in the JavaOne content catalog

Tuesday Sep 02, 2014

Greg Wilkins' Jetty/Servlet Sessions at JavaOne 2014

By Guest Blogger Reza Rahman

For the Java EE track at JavaOne 2014 we are highlighting some key sessions and speakers to better inform you of what you can expect, right up until the start of the conference.

To this end we recently interviewed Greg Wilkins. Greg is the mastermind behind Jetty and a long-time key contributor to the JCP, particularly for the foundational Servlet specification. In fact Greg is likely to be instrumental in the upcoming Servlet 4 specification slated to be included in Java EE 8. He will likely be the only person in the Servlet 4 expert group that is also part of the IETF HTTP 2 working group. We wanted to talk to Greg about his Jetty/Servlet sessions at JavaOne 2014 and HTTP 2 generally:

font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;">Greg has several sessions on the track that he talked about:

  • Jetty Features: In his open-ended Birds-of-a-Feather session, Greg will share the latest features added and to be considered in Jetty.
  • Into the Wild with Servlet Async IO: In this deeply technical session, Greg will be exploring the ins-and-outs of the Servlet 3.1 asynchronous I/O feature. If this is a topic that interests you, the session is probably your best opportunity to gain knowledge from a true subject matter expert.

Bear in mind, Oracle's own Ed Burns will have a detailed session on Servlet 4/HTTP 2. Besides Greg's sessions, we have a very strong program for the Java EE track and JavaOne overall - just explore the content catalog. If you can't make it, you can be assured that we will make key content available after the conference just as we have always done.

Monday Aug 25, 2014

JavaOne Hackergarten (and Others Worldwide)

by guest blogger Andres Almiray

It's with great pleasure that I announce JavaOne will host a Hackergarten this year once more. That's right, you did read it well, the name sticks, we're no longer renaming it to CodeGarten like last time ;-)

At JavaOne 2014, the Hackergarten has a dedicated space at the Java Hub in JavaOne exhibit hall, Hilton Union Square. The space has power, a private Internet network, white boards, and seating for 16. Attendees need to bring their laptops. You may stay as long as they want, from less than an hour to most of the three days. The format remains the same as other Hackergartens. Participants will contribute to open source projects. 

The idea is to gather people around specific topics at the scheduled times. Topics range from Java SE, Java EE, JSRs, pretty much anything Java-related. Contributions can be production code, test cases, documentation, or simply a friendly chat in order to gather feedback. If you want to host a session (help people to work on an open source project), please contact me. The project page is here and will be updated as we fill out the schedule.

We are also running Hackergartens at other conferences. The following ones are already confirmed:

JCrete - Aug 25th (in English)

JavaZone - Sep 9th (in Norsk & English)

JMaghreb - Nov 6th (in French)

Learn more about Hackergartens at Hackergarten.net.

Reprinted from The JavaOne Conference Blog. 

Wednesday Aug 06, 2014

Check out IoT at JavaOne!

"We are always creating new IoT applications and encouraging others to improve them. Lhings is the networking tool that let us make it very easy. This time we wanted to make something we use in our everyday lives which is traditionally non-technical, as is a table, to be connected to the Internet and then provide new services that could be useful in some applications" explains José Pereda, who is part of the Lhings team. Based in Spain, the team won aJavaOne trip during IoT Developer Challenge.  

"We wanted to show that IoT is useful in real scenarios and it's accessible to anyone. Likewise, we would like to encourage developers to reproduce and improve it!" further explains José. You will get a chance to meet them at JavaOne.  

In the Internet of Things session track at JavaOne, you will learn about Java Embedded and discover great applications. Register today with the Flash Sale code DFS4, you will save US $400   

José is also presenting four talks at JavaOne

  • JavaFX 3D: Advanced Application Development
  • How to Build the Game 2048 with JavaFX and Java 8: Lessons Learned
  • Debugging and Profiling Robots with James Gosling
  • Create the Game 2048 with Java 8 and JavaFX 

Monday Aug 04, 2014

Three Day Discount!

Here is another chance to save US$400 on registration. Some of you probably missed the Early Bird rate that ended last Friday. Make sure you take advantage of this flash sale and register by Wednesday, August 6. This is your last chance! 

JavaOne is only eight weeks away. Folks, you have nothing to gain by waiting to register and book your trip. Hotels are filling up and are getting more expensive.   

From all continents, Java authors, speakers, leaders, JSR contributors come together once a year for a week in San Francisco. This is THE premier Java conference with all the Java content you could imagine. You name it: Java security, Java 8, JVM languages, the cloud, Internet of Things, methodology, tools and more. Attending the conference will kick off your training for the year! 

Icing on the cake! You get to spend time in one of the best cities in the States and the world.  

Thursday Jul 31, 2014

User Groups at JavaOne

User group leaders from around the world meet once a year at JavaOne. Each year, they organize the Forum meeting the Sunday before JavaOne. Speakers and topics are vetted by community. Anyone attending JavaOne whether they belong to a user group or not are invited to those sessions. Make sure you arrive on time for the Forum on Sunday. It starts at 8:00am at Moscone West. Among the topics this year are NetBeans community and tools, Java EE and Glassfish update, lightning talks about productivity, Java tools for Maven and Java EE, free Java tools and how to teach Java. And you don't want to miss James Gosling. He will present his latest work on the Raspberry Pi, Robots and Small Devices. If you have not registered already.

Register by tomorrow Friday August 1, 2014 and take advantage of the Early Bird rate. It is a US $400 saving on registration!  

Wednesday Jul 30, 2014

The Java Hub at JavaOne!

Nighthacking moves in! Join Stephen Chin as he interviews Java developers attending JavaOne. You will learn from fellow developers about ingenious ways to get your job done with the tools and technologies they use. Those interviews will be live at Java Hub during the whole conference and live streamed online.

The Hackergarten is where developers contribute to JSRs and open source projects. Whether you are a veteran contributor or a beginner, you are invited to participate for as long as you want. You can stay for less than an hour, several hours, a day, or the entire time of the conference. JSR contributors will be onsite to help. Topics include Java EE, Data Grids, Java SE 8 (Lambdas and Date & Time API) and OpenJDK. Java Champion Andres Almiray organizes Hackergarten at many conferences around the world. Check the hackergarten.net for events close to you!

What's that Java and the Internet of Things? Check out what's new with the platform and how it provides a great solution for the Internet of Things. Whether you are working in the industry or just want to do your own DIY projects. Stop by Java IoT Demo Showcase and learn what you can do with Java. The cool keynote demo will be there as well for all 3 days of the conference.

Learn how to use 3D Modeling with JavaFX 3D, Java Embedded, and 3D printing. You will experience the entire process from the modeling interface to the 3D printing of no less than the Duke. Computer scientist Michael Hoffer from the Goethe-Center in Germany will demo his 3D modeling and printing.

The scavenger hunt at the Java Hub will add a twist of fun to the discovery of Java technologies. The Java Hub will be located in the JavaOne Exhibit Hall at Hilton San Francisco Union Square.

Register today with the Early Bird rate to save $400 off the onsite price!  

Friday Jul 25, 2014

Geek Bike Ride Before JavaOne 2014

The Silicon Valley JUG will host the annual Geek Bike Ride the Saturday before JavaOne. We'll meet at Pier 41 in Fisherman's Wharf and ride across the bridge and down into Sausalito, and then take a ferry back to the city. We are getting an earlier start (9am) so folks can get back for other JavaOne activities. (You'll make it back for sure by 12:00).

This is a beginner/intermediate ride, roughly 8 miles and takes 1.5 hours to ride. I expect we'll have several photograph stops, and we'll stop for a treat in Sausalito. There are three big hills (two steep ones going up Fort Mason and the approach to the bridge, and one fun downhill into Sausalito), but (obviously) the bridge is flat and easy. The hardest part may be dodging pedestrians on the bridge! 

All geeks and their friends are invited. Meet at Blazing Saddles bikes at Pier 41 in Fisherman's Wharf at the Blue & Gold Fleet Sausalito/Tiburon Ferry Terminal. If you want to reserve a particular bike, you can reserve it in advance online (even electric bikes!) Bike rental is $30-$40 USD and there's a 10% discount if you reserve online.

The Blue and Gold ferry from Sausalito is $10.50 USD. They are used to having bikes on board.

Transit and parking info: You can take the Historic F Line Street Car to Pier 41 to Blazing Saddles Bike Rental. Parking garages are at Fisherman's Wharf.

Wear your Java Geek bike jersey if you have one!

You can sign up and chat with other riders here. If you have trouble seeing the event, email SV JUG organizer Kevin Nilson at kevinATjavaclimberDOTcom.

Follow #geekbikeride for updates.  

Tuesday Jul 15, 2014

Java Magazine: The Java Virtual Machine

by Caroline Kvitka, Java Magazine Editor in Chief

The July/August issue of Java Magazine explores the Java Virtual Machine (JVM), and includes a JavaOne preview. While often overshadowed by the Java language, the Java Virtual Machine is the cornerstone of the Java platform. It gives Java its hardware and operating system independence, small compiled code size, and protection from malicious programs. We’ve dedicated almost an entire issue to the JVM, so if you haven’t paid much attention to it lately, buckle up and get ready for the ride.

One of the most notable things about the JVM is that it can run hundreds of programming languages besides the Java language—providing developers with flexibility and freedom of choice. In our cover story, “Alternative Languages for the JVM,” Raoul-Gabriel Urma takes a look at eight JVM languages and some of the benefits of using them. In “Performing 10 Routine Operations Using Different JVM Languages,” Venkat Subramaniam further explores the benefits of alternative languages—while also showing how Java SE 8 handles certain tasks. Developing JavaFX applications? Check out Josh Juneau’s article, “JavaFX with Alternative Languages,” to discover how alternative languages and custom APIs can speed development. 

We also focus on things you can do to make the JVM work better for you. Julien Ponge shares advice on avoiding benchmarking pitfalls on the JVM, and Cas Saternos gets us up to speed on server-side deployment on the JVM. In addition, Marcus Hirt introduces us to a profiling and diagnostics tool for Java applications running on the JVM and Ben Evans gives us a primer on just-in-time compilation.

Want more? Make sure to register for JavaOne, September 28–October 2 in San Francisco, California, which features a dedicated JVM Languages track (and check out our JavaOne conference preview [with speaker previews and coffeeshop recommendations]).

Java Magazine is a FREE, bi-monthly, online publication. It includes technical articles on the Java language and platform; Java innovations and innovators; JUG and JCP news; Java events; links to online Java communities; and videos and multimedia demos. Subscriptions are free, registration required.

Have feedback for Java Magazine? Send a tweet to @oraclejavamag.

About

Insider News from the Java Team at Oracle!

duke
Links


Search

Archives
« April 2015
SunMonTueWedThuFriSat
   
1
3
4
5
6
8
10
11
12
16
18
19
20
21
22
23
24
25
26
27
28
29
30
  
       
Today