Translate

пʼятниця, 7 червня 2013 р.

5 Reasons to use Guava


Guava is an open source library containing many classes for Java and written by Google. It's a potentially useful source of miscellaneous utility functions and classes that I'm sure many developers have written themselves before, or maybe just wanted and never had time to write. Here's 5 good reasons to use it!
1. Collection Initializers and Utilities
Generic homogeneous collections are a great feature to have in Java, but sometimes their construction is a bit too verbose, for example:

final Map<String, Map<String, Integer>> lookup = new HashMap<String, Map<String, Integer>>();
Java 7 solves this problem in a really generic way, by allowing a limited form of type inference informally referred to as the Diamond Operator. So we can rewrite the above example as:
final Map<String, Map<String, Integer>> lookup = new HashMap<>();
It's actually already possible to have this kind of inference for non-constructor methods in earlier Java releases, and Guava provides many ready made constructors for existing Java Collections. The above example can be written as:
final Map<String, Map<String, Integer>> lookup = Maps.newHashMap();
Guava also provides many useful utility functions for collections under the Maps, Sets et al. classes. Particular favourites of mine are the Sets.union and Sets.intersection methods that return views on the sets, rather than recomputing the values.


Fridays Fun




четвер, 6 червня 2013 р.

Run your Java 8 Code in WEB


Сторінка де можна виконати код написаний на Java 8 і отримати результат

Адреса сайту: http://tryjava8-t20.rhcloud.com/#

Introduction of Java EE 7 Live Webcast


Oracle проводить презентацію  Java EE 7.

На  цьому вебкасті будуть спікери з Oracle, IBM, Infosys and JUGs.

Вебінар пройде в 2 етапи: 12 і 13 Червня зі стартом о 15.00

Зарейстрватись можна тут

вівторок, 4 червня 2013 р.

JDay Lviv останні приготування


Всім привіт,

Кілька новин про JDay Lviv, що ось ось наступить

Amazon прислав вимоги до комп'ютерів які будуть використовуватись на воркшопі. Отож
1) New Command Line для Linux
2) Putty  для Windows
Якщо ви купили квиток на JDayLviv і хочете взяти участь у воркшопі - дайте нам знати на мейл jug.lviv@gmail.com


Алєксандр Бєлокрилов розкаже про Raspberry PI - якщо буде достатня кількість коментів і зацікавлених - ми купимо Raspberry PI  як приз для одного з слухачів доповіді.


Ми створили додатковий англомовний потік, де будуть доповіді від представників JFrog, Amazon і родзинки потоку  VP Softserve Russ Hertzberg



Перші 100 квитків продано, наступна сотня на 50грн дорожча, але ви можете отримати дисконт, якщо напишете про участь в конференції в своїх мережах

Ну і головне появився остаточний(надіюсь) розклад конференції


отож чекаємо вас  на JDay Lviv

/JUG Lviv

History of Programming Languages


History of Programming Languages.

See it in details... Very interesting....!


понеділок, 3 червня 2013 р.

Spring Data (JPA)


Spring-Data
Development of web-applications with the help of Spring MVC implies creation of several logical layers of architecture. One of the layers is a DAO (Repository) layer. It is responsible for communication with a database. If you developed the DAO layer at least once, you should know that it involves a lot of boilerplate code. A Spring Data take a part of the routine job related to the DAO on itself.

In the post I’m going to provide an example of application which will demonstrateSpring Data (JPA) in conjunction with Spring MVC, MySQL and Maven.Hibernate will be used as implementation of the JPA. As you probably know, I’m a real fan of java based configurations, so I will use this approach to configure the Spring Data. In the end of the tutorial you can find a link to the sample project on GitHub.



JUG 21 Report


Минулого четверга ми провели нашу останню зустріч.

Велике спасибі всім присутнім і компанії EPAM.

А ось тут презентація Андрія Крохмального:




пʼятниця, 31 травня 2013 р.

Розшукуємо контакти Java Dev з інших міст


Добрий день.

Розшукуємо контакти Java девелоперів з іньших міст України для співпраці(knowledge sharing).

Відгукніться якщо у Вас є контакти і Ваші знайомі не проти поспілкуватись на розумні теми :)

Писати:
bohdan.bandrivskyy_at_gmail.com


Funny Source Code Comments


// sometimes I believe compiler ignores all my comments
Exception up = new Exception(“Something is really wrong.”);
throw up; //ha ha
//When I wrote this, only God and I understood what I was doing
//Now, God only knows
// I dedicate all this code, all my work, to my wife, Darlene, who will
// have to support me and our three children and the dog once it gets
// released into the public.
// drunk, fix later
// Magic. Do not touch.
return 1; # returns 1
double penetration; // ouch
/////////////////////////////////////// this is a well commented line


Fridays Fun








четвер, 30 травня 2013 р.

Oracle updates Java version numbering in light of recent security vulnerabilities


Following months of concerns over the security of the Java platform, Oracle have finally acted, by introducing a new Java Development Kit (JDK) numbering scheme for future patches.
Currently, security fixing Critical Patch Updates (CPUs) only arrive every three months, to suit the needs of enterprise administrators, while Limited Updates add new functionality and non-security updates. However, with vulnerabilities and emergency patches becoming ever more frequent, Oracle’s hand has been forced to change the structure.
As announced in a company bulletin last Tuesday, the company explained the type of releases wouldn’t change but their frequency and numbering would.
From now on, Limited Update releases will be numbered in multiples of 20, while CPUs will be in multiples of 5 following on from the prior Limited Update, adding one when it falls on an even number.
Therefore, the upcoming schedule for JDK 7 is as follows:7u40 then 7u45, 7u51, 7u55.
The cycle after that will be Limited Update 7u60, succeeded by CPUs 7u65, 7u71 and 7u75.
Crystal clear right?


вівторок, 28 травня 2013 р.

Реєстрація припинена JUG 21


Всім доброго дня.

Нажаль, змушений, припинити реєстрацію.
К-сть людей вже перевищила місткість залу і можть бути проблеми з розміщення!

ПС. Звичайно Ви можете прийти Вас ніхто не вижене, але Ви розумієте наслідки... :)

ПС2. А на JDay помістемось всі, якщо зареєстуватись завчасно :)
http://www.jday.com.ua/

понеділок, 27 травня 2013 р.

JUG 21 "Getting modular with OSGI"


Запрошуємо вас на нашу наступну зустріч JUG L'viv.

Цього разу нас запросив компанія EPAM
Хочемо представити вам презентацію: Getting modular with OSGI
Доповідач: Андрій Крохмальний

Зустріч відбудеться в четвер 30 травня 19,00 за адресою Олени Степанівни, 45, 5 поверх

Також зочу нагадати про наш Великий івент JDay, який відбудеться 29 червня.
Деталі і реєстрація: http://www.jday.com.ua/

ПС. Кількість мість є невелика. Тож прошу зареєструватись. Як завжди :)