pallavi chaudhari

Ranch Hand
+ Follow
since Jul 02, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by pallavi chaudhari

Campbell Ritchie wrote:You should have one Laboratory class.
Or four.



Four I understood means : Laboratory class should be abstract. and other 3 will extend from it.

But only one class how it will manage?
12 years ago
Because in Test Client class I have to given to :

Create instances of 3 laboratories with following data:

LAN ,Server,etc

How to achieve it then?
12 years ago
Thanks Campbell ,

upto now I have created College,Department,all three laboratory classes and created Computer Bean class.

reading from csv file to show the list for UGLaboratory.

UGLaboratory class is implementing interface in which I have defined all business method related to the this lab only.

One question how remove entry from csv file using I/O (does it removal means only overwriting the file again with new values?)


12 years ago
Hi experts,

I have to implement a use case:

The assignment is to simulate "Mechanical" department of "XYZ College". The department has computer laboratories and equipments.
The department has three computer labs each having some distinct properties/features.

1. OOP Laboratory has a UNIX Server and has a UNIX network
2. NT Laboratory has a VC and has a Windows NT network
3. MP Laboratory has a Linux network

The Department has a Head of Department and 2 Professors.

Each lab has a printer and computers.
Each printer is specified by its type (dot matrix, inkjet or Laser) and its make (HP, SONY or SAMSUNG).
Every Lab has a Lab instructor.
A computer is specified by its name, RAM size, Hard Disk capacity, its Processor speed and Processor make (Intel, AMD).

The Head of Department, the professors and the Lab instructors are Teachers.
A Teacher is specified by his name, date of appointment (dd-MM-yyyy) and qualification.

Then I need to load a list of "Computer" each of laboratory from csv file.

How to start implementing this use case? Design help is highly appreciated.

I do not want code I am posting this for only suggestions and guideline to implement it using best possible way using OOP features.


Thanks




12 years ago
Once again thanks to all .

Thanks,
Pallavi
12 years ago

Rob Spoor wrote:Which may cause the same two, unwanted characters to be generated each time. It's unlikely but still possible.

A simple way to solve this:



I am not getting how it will generate unwanted characters?
12 years ago
Thanks all for your help.

please check this :

final String[] alphabet = {"A","B","C","D","E","F","G","H","I","J","K","L","M","N","P","Q","R","S","T","U","V","W","X","Y","Z"}; // all but and O
char index = (char)(Math.random() * alphabet.length + 'A');
12 years ago
I am manually checking like :

for e.g :

char c = (char)(Math.random() * 26 + 'a');
if (c == 'l')
continue;

else
pwd = pwd + c;
12 years ago
I am trying to generate random password and I want to exclude lower case 'l' and uppercase 'O' from password .

Also I wanted to remove 0 and 1 digit i did for this : (Math.random() * 8 + 2)
12 years ago
Hi,

Is there any way to exclude 'l' and 'O' from the below statement result :

(Math.random() * 26 + 'A')

Thanks,
Pallavi
12 years ago
Hi experts,

I want to find the business days between two dates. I found following solution on google.


Is it good way to calculate business days?

Suggest a solution

Thanks
12 years ago
Hi ,

I am new to Eclipse ..Please help me in how to install Hibernate plugin in Eclipse.
Hi,

can we do this : search for entries in ldap without specifying returning attributes of SearchControls..?
13 years ago
Thanks Jai,

But is it safe from data security point of view to upload using exploded deployment....?
13 years ago
Thanks Jai,

But these are not different web application its single web application.

And .war file size of my project is 83 MB.

So whenever client suggest changes,I have to upload whole 83 Mb again..its takes time?

is there any way to upload only changed files in Jboss?
13 years ago