This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Rust Web Development and have Bastian Gruber on-line!
See this thread for details.
Win a copy of Rust Web Development this week in the Other Languages forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

arquillian in action book

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi, I'm very excited to see a decent Arquillian book. I just started to learn Arquillian and ejb testing.
About the book: can I learn from it how to architect my code so testing it can be easily done? dao-s, etc? I'm using weblogic, any tips for testing on this one?
 
Author
Posts: 130
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your interest Toth! I hope we're able to help you on your journey of learning Arquillian.

About the book: can I learn from it how to architect my code so testing it can be easily done? dao-s, etc? I'm using weblogic, any tips for testing on this one?



The book is primarily about testing, we haven't talked much about properly architecting your application to make it easily testable, but it is a wonderful suggestion! You will see things we've done or decisions we've made in the code which will make it easier to test. It doesn't matter which server you're using with Arquillian. Arquillian supports a wide list of containers including

  • Weblogic
  • WebSphere
  • Tomcat
  • TomEE
  • JBoss AS 4/5/6/7
  • Wildfly
  • JBoss Enterprise Application Platform (EAP)
  • Glassfish
  • Jetty
  • Weld
  • OpenEJB
  • OpenWebBeans


  • I think I got them all

    There isn't anything different you need to do here besides change the container adapter dependency and maybe some configuration in the arquillian.xml file. Of course any descriptors you need for your container will also need to be in the microdeployment for the test to deploy correctly.

    Specifically for Weblogic there's support for WLS 10 and WLS 12.
     
    WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
    Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    reply
      Bookmark Topic Watch Topic
    • New Topic