Profile

Cover photo
Renato Perini
Works at Objectway Financial Software SpA
71,866 views
AboutPostsPhotosVideos

Stream

Renato Perini

Shared publicly  - 
Want to boost your knowledge on Java Concurrency ? Then we have something especially for you! Enter the contest now to win your very own copy of our Java Concurrency Essentials eBook. Concurrency is always a challenge for developers and writing concurrent programs can be extremely hard. There is a number of things that could potentially blow up and the complexity of systems rises considerably when concurrency is introduced. With this eBook, you w...
1
Nico Caprioli's profile photo
 
signato
Add a comment...

Renato Perini

Shared publicly  - 
 
Cool.
 
Now I love my Nexus even more :)

#lg   #pacman  
30 comments on original post
2
Add a comment...

Renato Perini

Shared publicly  - 
 
Suppose you have a list of strings. You want to sort this list lexicographically in a case insensitive way. In Java SE 7, the most concise way to achieve this sorting is using an anonymous inner class, implementing the compare() method of the Comparator<T> interface:

List<String> strList = Arrays.asList("a", "b", "A", "B");
Collections.sort(strList, new Comparator<String>() {
            @Override
            public int compare(String o1, String o2) {
                   return o1.compareToIgnoreCase(o2);
            }
});

Using Java SE 8 and method references (a contracted form for lambda expressions that calls one method only and use type inference), you can obtain the same result with one liner:

strList.sort(String::compareToIgnoreCase);

POWER in your hands.
1
Add a comment...

Renato Perini

Shared publicly  - 
 
#JavaEE8 is now marked as JSR 366:
https://jcp.org/en/jsr/detail?id=366

Servlet 4.0, JCache 1.0, CDI 2.0, JSF 2.3, MVC 1.0 among the most exciting new features.
1
Add a comment...

Renato Perini

Shared publicly  - 
 
Waiting for Ed Burns' Servlet 4/HTTP 2 Session @ JavaOne 2014
#Java #java_ee  
1
Add a comment...

Communities

18 communities
 
Sorting algorithms compared in time, with animations.
Simply amazing.
6
7
Thomas S.'s profile photoJörg Schreiner's profile photo
Add a comment...

Renato Perini

Shared publicly  - 
 
Easily deploy an SSD cloud server on @DigitalOcean in 55 seconds. Sign up using my link and receive $10 in credit: https://www.digitalocean.com/?refcode=8f2d7a013d01
1
Add a comment...

Renato Perini

Shared publicly  - 
 
To be a software developer, you have to be an optimist -- otherwise, it would feel like a losing battle.
Joshua Bloch.
1
Add a comment...

Renato Perini

Shared publicly  - 
 
Scala will die. It's all I have to say about it.
Only game changers survive, and introducing a new feature that become mainstream is not enough. Besides this, functional programming and lambdas are not a Scala invention. People must stop thinking in what is new and what is old. C has been invented in 1972 and still dominates the industry. Today, the only relevant and dominant languages are C, C++, Java, C#, PHP, Python and JavaScript. The remaining languages are for people who think too much and work too little. Leave these toys to universities and academics. The industry work with other tools. There is no substitute for Java (expecially Java EE) in the foreseeable future in the enterprise market. What's next? A complete new replacement for Prolog who will try to impose logical programming for every day tasks, introducing a new fancy syntax for first order predicates and knowledge bases while claiming superior productivity / ease of development? No, thanks.
1
Giampaolo Trapasso's profile photo
 
Let me disagree. People at LinkedIn or Twitter use Scala. I think it's not an academic toy anymore. Scala is more than lambdas. I think is good to have Scala for Java developers also. They could ask for Scala good features been introduced in Java, case classes just to name one.
Add a comment...

Renato Perini

Shared publicly  - 
 
A bit old but still invaluable for those who need to grasp the nitty gritty on the new Date & Time API:
2
2
Giampaolo Trapasso's profile photoJDK Srl's profile photo
Add a comment...

Renato Perini

Shared publicly  - 
 
The Institute of Electrical and Electronics Engineers ( #IEEE ) ranks #Java the top programming language. And they're still ignoring the embedded space. ;-)
http://bit.ly/1xgIZkR
1
1
Giampaolo Trapasso's profile photo
Add a comment...
Communities
18 communities
Work
Occupation
Software Developer
Skills
Sviluppo applicazioni Web Java EE: Servlet/JSP, JSTL, JDBC. Persistence Frameworks: Hibernate ORM, Java Persistence API (JPA with EclipseLink). Web Frameworks: Apache Struts, Spring Framework su Apache Tomcat, Oracle WebLogic AS, RedHat JBoss AS (WildFly), Oracle GlassFish AS. WebServices: XML-RPC, SOAP with JAX-WS (SAAJ and Metro), RESTful Web Services with JAX-RS (Jersey). Applicazioni XML: DOM, SAX (JAXP, Apache Xerces), XSLT transformations (Apache Xalan, Apache Batik), XQuery/XPath. Architectural Design Patterns: Model-1, Model-View-Controller (Model-2). Database: Oracle 11g, MySQL 5.6, eXist XML database. Profonda conoscenza dei linguaggi PHP, C e C++. Frontend: HTML 5, CSS 3, JavaScript, JQuery
Employment
  • Objectway Financial Software SpA
    Software Developer, present
Links
Story
Tagline
You can't live with women, you can't live without women. Fuzzy logic example.
Introduction
The use of COBOL cripples the mind; its teaching should, therefore, be regarded as a criminal offense.
Edsger Wybe Dijkstra.
Basic Information
Gender
Male