Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
"XP, JSP, Servlets, EJB, WS".
If you have servlets and EJB on your list then you really don't need J2EE on it as well. It's like saying "I'm going to buy Coke, Mountain Dew, and soda."Originally posted by HS Thomas:
I am not sure why you dropped J2EE off your list .
Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Originally posted by HS Thomas:
That was the list I was after ,basically with J2EE included.
But if they've adopted XP, why not TDD. TDD is not new but has been around since programming began. When you had to punch cards (before my time, honest. Probably in Robert Martin's time) you had one shot to get it right. So inputs and outputs were specified precisely and checked and re-checked manually till you got it right.
With modern TDD you can evolve much more - like Design, Documentation.
Many a time I have heard the complaint that we don't have the budget to do a particular thing.
[ Okay , I accept a room-full of geeks may be rather boring so rather a nice Secretary/ Personal Assistant type up the documentation. And have several Programmers , Designers , Testers, Project Managers visit the nice secretary to make sure the documentation is up to date. ]
I am not sure why you dropped J2EE off your list .
regards
[ August 05, 2003: Message edited by: HS Thomas ]
But if they've adopted XP, why not TDD.
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
JAAS for authentication ( we wrote Login Modules and callback handlers)
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Originally posted by Lasse Koskela:
May I ask what made up the rest of the infrastructure for authentication (database, LDAP, biometrics, ...)?
Originally posted by HS Thomas:
Did you have a formal way of writing the tests?
regards
So for one of the modes , wbe had to employ multiple login modules.
But if they've adopted XP, why not TDD.
[OCP 21 book] | [OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I can't reconcile doing TDD and XP with EJBs by roles.
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
They were created by Sun to accomodate a component market out there (which never really happened, IMO).
How do you still do TDD and XP in this scenario?
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
in a shifting financial environment where commercial banks, investment services, and insurance companies are consolidating at a staggering pace. As companies begin to offer more services, each customer becomes a more valuable life-long user. Meanwhile, as these vertical markets expand, communication across markets and across borders becomes a greater challenge.
True, you cannot refactor 3rd party code (unless you have access and permission to modify it), but so what? You simply need to accept that you can't touch those and make your refactoring/design decisions based on what you've got.TDD and XP are Test-first driven , but are not just about testing but design and development. Which means there are some boundaries not in the control of the test-design-developer using 3rd party components.
Mock objects are a useful method for testing "environment-dependent" code. You can also accomodate testing of EJBs by delegating all logic to plain old Java classes and write the tests for those classes which is easier.I have come across a Mock-objects concept or stubbs in using TDD. The Yahoo TDD group has a thread starting on EJB and TDD which may lead to something.
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
All of life is a contant education - Eleanor Roosevelt. Tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|