The moose likes Developer Certification (SCJD/OCMJD) and the fly likes criteriaFind Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "criteriaFind" Watch "criteriaFind" New topic


CyJenny Wong

Joined: May 29, 2002
Posts: 18
I have a couple of questions to ask
1. where did you guys implement the criteriaFind method
2. Can I use JDK 1.4 for the project??
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
Probably most have implemented it in the Data class. I created a DataSearch interface which had the single criteriaFind() method. Of course I also had a class that actually implemented DataSearch and the criteriaFind method. So, it's really up to you where to implement it.
Hope this helps,
Michael Morris

Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
Nate Johnson
Ranch Hand

Joined: May 13, 2002
Posts: 301
About #2, I emailed Sun and the told me NOT to use 1.4 and that was afer 1.4 was a stable production release... If I were you, I would email them and ask.

scwcd, scjd, scjp<br /><a href="" target="_blank" rel="nofollow"></a><br /><a href="" target="_blank" rel="nofollow"></a>
Gurpreet Saini
Ranch Hand

Joined: Jun 09, 2002
Posts: 295
Hi there,
I am using jdk1.2 is it ok ?.
Thank you,
Suresh Babu

Joined: Aug 21, 2002
Posts: 5
I have implemented criteriFind in Data Class which uses SearchCriteriaBuilder

It is good idea to separate search algorithm from data class.
[ August 23, 2002: Message edited by: Suresh Babu ]

----------<br />Thanks,<br />Suresh
Nate Johnson
Ranch Hand

Joined: May 13, 2002
Posts: 301
Originally posted by Gurpreet Saini:
Hi there,
I am using jdk1.2 is it ok ?.
Thank you,

That should be fine.
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

Please adjust your displayed name to meet the
JavaRanch Naming Policy.
You can change it
Just make your name Proper Case instead of all Caps. On the internet all caps is considered Yelling.
Proper Case would be:
Cyjenny Wong

Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: criteriaFind
It's not a secret anymore!