Mocking static methods with PowerMock
Unit testing is great. As we learn it it's excellent. As we work on greenfield projects it's beautiful and sweet. The real problems start on the real projects.
Unit testing is great. As we learn it it's excellent. As we work on greenfield projects it's beautiful and sweet. The real problems start on the real projects.
In the previous post we've set up our environment to work with EJB3. It's based on Eclipse, JBoss Tools and JBoss Application Server. However you can follow the tutorial with the environment set up of your choice. Another popular one would be Netbeans. You can download it as a bundle with Glassfish server. If you decide to switch it please remember that some things presented here might be environment specific and may work differently (but most of them shouldn't).
In this post we will say a little bit more about Session Beans and we will try to cover the differences between Stateless and Stateful Session Beans.
As a part of preparations for my SCBCD exam I will try to present a series of tutorials on EJB3 and JPA. It will help me to test my knowledge and maybe someone else will find it useful.
W najbliższym czasie zaczynają się kolejne sesje kursów na JavaPassion.com. Wśród nich:
Czy ktoś korzystał już z tych kursów? Jeśli tak, to jakich? Jakie są Wasze opinie i wrażenia?
Udostępniono wstępną agendę Java Developers Day 2009. Kto się jeszcze wybiera?
Przeglądając stronę świetnie zapowiadającej się konferencji Java Developers' Day 2009 trafiłem na podstronę JDD Java Guide. Zaglądałem tam już wcześniej i przez moment pomyślałem o zgłoszeniu swojego bloga, ale ostatecznie odpuściłem.
Dzisiaj zajrzałem tam ponownie i widzę, że ktoś mnie zgłosił
A do tego mam całkiem sporo głosów
Ktokolwiek mnie zgłosił i ktokolwiek głosował, dziękuję bardzo
A tych, którzy jeszcze nie głosowali, zachęcam do oddania głosu.
Czekam też na komentarze, propozycje i oczekiwania odnośnie tego bloga
Serdecznie zapraszam do pobrania nowego numeru JavaExpress. A w nim:
Polecam ciekawy artykuł na temat anty wzorców w obsłudze wyjątków. Na część tych anty wzorców trafiłem w pracy i na prawdę utrudniają one kodowanie i są bardzo irytujące. W szczególności nie lubię "zaloguj i wyrzuć".