Java and the Wave Glider with James Gosling Tell a friend Share Thursday, January 22, 2015 5:00 PM to 6:00 PM Needs a location This is a virtual Meetup occuring at 5PM UK time. For help with your timezone calculation, refer to this. You can tune in to the session at http://virtualJUG.com If all fails, you [...]
JUG Lviv
Interesting thing with mongo queringDo you know result of db.myCollection.find().limit(0)?It will be the same to db.myCollection.find() and return everything from collectionWhat about such thing db.myCollection.find().limit(-12)? Will it work at all?Yes It will return the same to db.myCollection.find().limit(+12)
JUG Lviv
If you are not 100% sure prefer String.valueOf(value) over new String(value). Inside valueOf method we have check on null so that you’ll never get NPE
JUG Lviv
Martin Fowler виклав цікаву (принаймні для мене) статтю.Ідея така що коли пишеш валідатори потрібно не викидати ексепшини, а робити список повідомлень.Тобто замінити ось такий код class BookingRequest… public void check() { if (date == null) throw new IllegalArgumentException("date is missing"); LocalDate parsedDate; try { parsedDate = [...]
JUG Lviv
The new set of JCPs announced are: JEP 158: Unified JVM Logging — Introduces a common component logging system. JEP 165: Compiler Control — Improves control of JVM compiles through a new set of options. JEP 214: Remove GC Combinations Deprecated in JDK 8 — Maybe self-explanatory: it removes GC combinations from JDK8. JEP 213: [...]
juglviv
Цікава стаття про Message Processing With Spring Integration http://java.dzone.com/articles/message-processing-spring
juglviv
Наступного четверга 11 грудня о 19-00 відбудеться 24-тя зустріч Java User Group Lviv Тема: AKKurate AKKA Доповідач: java/scala розробник компанії Eleks – Юрій Остапчук Презентація торкнеться наступних питань: – SCALAbility problem, Actor System / Java&Scala Actors – Load-balancing, Supervision & Fault- [...]
juglviv