Blog: From Java to Java EE

Wildfly and Resteasy are missing support for FastInfoset collection and map...

so, if you have a REST resource returning a java.util.List or a java.util.Map, like: @Path("people")@Produces({"application/fastinfoset"})@Consumes({"*/*"})public class SomeResource { @GET public...

Wyświetlenia 804

OK 0

NOK 0

How to convert broken FastInfoset stream into XML?

Have you ever received a broken FastInfoset (FI) stream? Or maybe, your logging infrastructure is truncating the logs so FI messages are incomplete? If you try this piece of code: import java.io.IOExc...

Wyświetlenia 393

OK 0

NOK 0

CXF / Spring integration using @Configuration annotation

If you develop JAX-WS services and run outside of Java EE container (that supports e.g. @WebService annotation) you probably use Apache CXF. If you want to integrate your services with CDI (again, out...

Wyświetlenia 440

OK 0

NOK 0

Lombok - cool stuff, worth trying!

A friend of mine just shared with me Project Lombok (weird name but I guessed correctly that it's something Thai ;) As I understand the goal of this project is to minimize boilerplate Java code (like ...

Wyświetlenia 624

OK 0

NOK 0

Byteman - use it when Mockito can't help

Byteman is a really cool stuff with which you could simulate JVM or OS behavior hardly possible to mock using mocking library (like Mockito). Read the full exaple (really short with no fluff) here: ht...

Wyświetlenia 512

OK 0

NOK 0

Errata to Maven2 ? Maven3 migration

In the section Cobertura plugin and Maven3 of "Maven2 ? Maven3 migration - real life example" article I made a mistake that resulted in reporting a bug that does not exist. package ...

Wyświetlenia 425

OK 0

NOK 0

Maven2 ? Maven3 migration - real life example

Couple of months after JDK 7 release I decided to update my projects to build on both new JDK and Maven3 (Maven2 previously). From JDK 7 I was expecting nothing new as the codebase of our projects sho...

Wyświetlenia 762

OK 0

NOK 0

FW: Garbage collection in HotSpot JVM

There is an excellent new post from Alexey Ragozin on JVM Garbage Collector: http://www.dzone.com/links/r/garbage_collection_in_hotspot_jvm.html. He posted almost all basics you should know about di...

Wyświetlenia 440

OK 0

NOK 0

HotSpot (64bit server) hangs on socket read (JVM 1.7 bug?)

Picture (c) Clker.comFew days ago I started working on some maven-based project (Java 1.7.0) on my new laptop (with Windows 7 64bit installed) and I noticed that very often Maven 3 was stuck download...

Wyświetlenia 473

OK 0

NOK 0

GC and preformance tuning for Tomcat (from VMware)

Coming back to my previous post "Beware of your GC": just yesterday Daniel Mikusa from VMware published his post "Performance Tuning the JVM for Running Apache Tomcat" which adds some more interesting...

Wyświetlenia 415

OK 0

NOK 0

Be aware of your GC

When you're learning Java and later developing your applications you usually tend to not to worry about the memory management - we have garbage collector after all, so what's to worry about. Surprisin...

Wyświetlenia 473

OK 0

NOK 0

Java 7 - it's here

...

Wyświetlenia 546

OK 0

NOK 0

JDK 7 is finally out...

...well, not yet but it will be in few days (Oracle Announces Release Date for Java 7). After Wikipedia "Java 7 (codename Dolphin) is an upcoming major update to Java, it has been launched on July 7 o...

Wyświetlenia 573

OK 0

NOK 0

JBoss AS 5 Performance Tuning - book review

Picture (c) Packt PublishingSome time ago I received a new book from Packt Publishing i.e. "JBoss AS 5 Performance Tuning". This book couldn't reach me at a better time - few weeks ago my team was al...

Wyświetlenia 469

OK 0

NOK 0

JBoss AS 5 Performance Tuning - book review

Picture (c) Packt PublishingI received fresh hot book on JBoss AS 5 a month ago, but I still haven't had time to fully review it. I'm starting to taking a deep dive into it and it seems extremely int...

Wyświetlenia 468

OK 0

NOK 0

Java Best Practices – Vector vs ArrayList vs HashSet

Interesting article on Java ArrayList, Vector and HashSet performance comparison: Java Code Geeks: Java Best Practices – Vector vs ArrayList vs HashSet...

Wyświetlenia 607

OK 0

NOK 0

Java 4-Ever

Just AWESOME (I don't know how old that movie is but it is just "legendary"): ...

Wyświetlenia 432

OK 0

NOK 0

Do NOT write books this way! "Wicket in Action" case.

Copyright (c) Amazon.comI've been just reading quite a good book on Apache Wicket from Martijn Dashorst and Eelco Hillenius and I got really pissed off at some point. I've always loved "... in Action"...

Wyświetlenia 548

OK 0

NOK 0

When multithreading / multitasking your application doesn't help...

Copyright (c) Formula 1Last week we spotted some behaviors of our system that could be improved significantly. In some specific cases our system is sending multiple independent requests to the underly...

Wyświetlenia 514

OK 0

NOK 0

Creating Mylyn Connector Plugin - part 1

Quite recently I struggled with my company's internal bug tracker, especially lack of Mylyn integration in Eclipse. The easiest way to make it work was just to develop it :) I started with Mylyn/Integ...

Wyświetlenia 487

OK 0

NOK 0

Polskie blogi o JAVIE

                                                                                                                                       

dailylog

Wpisów: 34

Ostatni (2014-10-06):
PageLogic

    

jdn.pl

Wpisów: 163

Ostatni (2015-01-09):
Chamberconf