Velu Kasirajah

Greenhorn
+ Follow
since Feb 06, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Velu Kasirajah

You can try
14 years ago
From what I know If you retake you get a different assignment. Now that might have changed. But if you get a different assignment, then it goes without saying that you'll definitely need to retake part 3.
Based on my experience, it looks like you've passed. There's only one result for both Part 2 & 3.
Part 2 & 3 are evaluated together and you will not get scores for both, only the pass/fail result. If you've to retake you'll get a new assignment and followed by the corresponding part 3.

Velu Kasirajah
Brendon,
As you might already know, design pattern is a fancy word for a set of well known problem-solution combinations that have been identified and defined based on past experiences. So to know when to apply what pattern, you should first understand what kind of problem each pattern solves. And design patterns are not just meant for some designers. As a programmer, if are familiar with these patterns, it will only make you better. Also design patterns might be confusing and intimidating for some beginners. So starting with looking at some code samples might help you understand. There are so many resources out there, but see if this one helps Design Patterns. Good luck.

Velu Kasirajah
Based on the title of your question, if you are just looking for a way to get the list of all the files in a folder, try the following:

You can also use file name filters, if you want to choose only certain files from the folder.
14 years ago
Did you take look at org.apache.commons.lang.RandomStringUtils class? This class has a variety of methods that may suit your needs.

For instance, the following code will return a randomized string of 10 chars.

14 years ago
You can also take a look at Apache XMLBeans.
Yes. If there's any need to query the XML data based on certain criteria, then do the required level of shredding before putting it into the database. This will make it easier to query and retrieve the data.
Are you asking about doing it programmatically or manually?
14 years ago
You can also try Apache XMLBeans for parsing your XML data and creating Java objects. If shredding the data is not required, then you can also think about just dumping it as a BLOB.
It's due to method overriding (hiding). Since both the base and the extended classes have the same method, the one from the extended class will be executed.

Velu Kasirajah
Static look up data are usually good candidates for caching. For instance, the list of options used by your web pages or any such static data. Apps typically load and cache them at the beginning or when they are needed for the first time (lazy loading). Complex objects that are expensive to create are also cached (typically lazy loading). Hope that helps.

Velu Kasirajah
14 years ago
Vinod,
A repository in general is a central place where your artifacts (such as code) are stored. In your case this may be your source control system (CVS, SVN etc.) . If you are just trying to setup your project locally (not connected to any SVN repository) and have the complete code including the .project files, you can do this from Eclipse. Use the File-->Import-->General-->Existing Projects into Workspace option. This option looks for .project files. Good luck.

Velu Kasirajah