It’s hard to believe that it’s been a year since my “burrito” podcasts on JSF. So what have I done in this last year with JSF? What is my opinion now and how has it changed?
Have you ever skipped out on a movie that was popular? Decided not to see it because it either didn’t fit your taste or didn’t mesh with your life in some other way? I have. I usually look back later on without regret. That’s the way I feel looking back at JSF a year later, but let give you some details.
(more…)
Here’s a short post that showed me this discussion. I’m most interested with the link to MockEJB, since I’d prefer to use mock objects over server-side testing for most cases.
I can think of a few:
- From a webserver, use the Commons FileUpload library and provide a custom class that sends bytes to the EJB instead of the file system.
- From a console program, loop through buffers of the file, and send chunks of the file to the EJB
Does this mean that you have to create a TCP-like idea for your EJB, to
make sure everything got there and is in order?
How well does it handle failures?
What kinds of failures could occur?
Is it really worth it?
Links I’ve found here.