Win a copy of Rust Web Development this week in the Other Languages forum!

Kourosh Keshavarzi

Ranch Hand
+ Follow
since Oct 23, 2000
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
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Kourosh Keshavarzi

Thanks a lot Roseanne and Shubhangi.
You're very helpful and nice.
I appreaciate it big time.
They already have a database set up all I got to do is
connect to it. So I think I might get away with using
just asp or jsp and forgetting the jdbc. Maybe just
pass the data as parameters to the java programs.
But just to be sure I am going to spend the next couple of day
studying jdbc just to fugure out what the point of it and
what can be done with or with out it. As far as using jsp or asp
well since there are both more or less the same thing if my client insists on using asp then I'll just use it. What difference could it make. Specialy if I only end up setting
cookies and connecting to the database.
Mohit I'm going to go to the bookstore and check out that
book Professional Java server today.
I'm just trying to get the general idea and
get a grasp of what this project will require.
I'm hoping my bosses will bring someone with past experience
in to help and teach me.
After I passed the scjp I felt good about myself and felt lie
finaly I can relax.
The day I was told about this project is the day
I realized how much I don't know.
But I think I'll be o.k. Just as soon as I figure out
what I'll use for what the rest is just details
and learning the basic syntax and learning to work with
new objects.
Who know maybe mohit is right, may be I can get away with
lots of copy and paste.
My problem is that I don't know anyone who knows this stuff.
Everyone in my office is strictly mainframe and cobol-like stuff.
Thank god I found this sight.
Thanks again
Kourosh Keshavarzi
[This message has been edited by Kourosh Keshavarzi (edited December 04, 2000).]
21 years ago
Ok, I've only past the scjp 2 weeks ago.
I have not read anything about RMI or JDBC.
I was planning to do it after my certification but
then I got some general training that took up all my time.
I wasn't planning on doing anything in java for month.
I still have to study everything not covered in scjp.
I don't know ejb, jsp, jdbc, or rmi.
I did get a small introduction to ASP recently.
Now here is my problem. My company heard about my scjp
and sent me an email can you do this.
I need some one to just tell me what languages I need
to use and for what purpose. I need some kind of outline.
Sence I'm short on time I want to know exactly what do I
need to study before starting the project. What do I use
the different tool and languages to do( for example "go learn jdbc and then connect to internet using script is asp page or
you don't need jdbc at all here).
Here is the assignement:
A membership management system for about 1000 members of a club. I am envisioning sort of a Yahoo type interface for the club members, where members log in once from their computer,
and don't need to log in again through a cookie. From there, they can view a personal calendar, club news, local/national news, stocks, etc. They can also view club membership information from a DB that would have how much they have
spent at the club, reservations info, etc. The DB would have to be imported from their current system, which is running DOS. I don't know what type of DB they have.
Keep in mind I don't have any java
experience. I think if I had an outline I can somehow pull it
off. If you have any example code that would be helpfull.
But a simple outline or plan of attack would be great.
Like do I have to use ASP or is jdbc enough and visa versa.
I'm pretty sure RMI is unnecessary am I right?
I hope this becomes good practice for some of you.
And if would help me out a lot. This is my only chance
at getting some java experience.
Thanks so much
Kourosh Keshavarzi
Ok, I've only past the scjp 2 weeks ago.
I have not read anything about RMI or JDBC.
I was planning to do it after my certification but
then I got some general training that took up all my time.
I wasn't planning on doing anything in java for month.
I still have to study everything not covered in scjp.
I don't know ejb, jsp, jdbc, or rmi.
I did get a small introduction to ASP recently.
Now here is my problem. My company heard about my scjp
and is going to send me an email can you do this.
I need some archtect to just tell me what languages I need
to use and for what purpose. I need some kind of outline.
Sence I'm short on time I want to know exactly what do I
need to study before starting the project. What do I use
the different tool and languages to do( for example "connect
to internet using script is asp page).
Here is the assignement:
A membership management system for about 1000 members of a club. I am envisioning sort of a Yahoo type interface for the club members, where members log in once from their computer,
and don't need to log in again through a cookie. From there, they can view a personal calendar, club news, local/national news, stocks, etc. They can also view club membership information from a DB that would have how much they have
spent at the club, reservations info, etc. The DB would have to be imported from their current system, which is running DOS. I don't know what type of DB they have.
Keep in mind I don't have any java
experience. I think if I had an outline I can somehow pull it
off. If you have any example code that would be helpfull.
But a simple outline or plan of attach would be great.
Like do I have to use ASP or is jdbc enough and visa versa.
I'm pretty sure RMI is unnecessary am I right?
I hope this becomes good practice for some of you.
And if would help me out a lot. This is my only chance
at getting some java experience.
Thanks so much
Kourosh Keshavarzi
21 years ago
Ok, I've only past the scjp 2 weeks ago.
I have not read anything about RMI or JDBC.
I was planning to do it after my certification but
then I got some general training that took up all my time.
I wasn't planning on doing anything in java for month.
I still have to study everything not covered in scjp.
I don't know ejb, jsp, jdbc, or rmi.
I did get a small introduction to ASP recently.
Now here is my problem. My company heard about my scjp
and is going to send me an email can you do this.
I need some archtect to just tell me what languages I need
to use and for what purpose. I need some kind of outline.
Sence I'm short on time I want to know exactly what do I
need to study before starting the project. What do I use
the different tool and languages to do( for example "connect
to internet using script is asp page).
Here is the assignement:
A membership management system for about 1000 members of a club. I am envisioning sort of a Yahoo type interface for the club members, where members log in once from their computer,
and don't need to log in again through a cookie. From there, they can view a personal calendar, club news, local/national news, stocks, etc. They can also view club membership information from a DB that would have how much they have
spent at the club, reservations info, etc. The DB would have to be imported from their current system, which is running DOS. I don't know what type of DB they have.
Keep in mind I don't have any java
experience. I think if I had an outline I can somehow pull it
off. If you have any example code that would be helpfull.
But a simple outline or plan of attach would be great.
Like do I have to use ASP or is jdbc enough and visa versa.
I'm pretty sure RMI is unnecessary am I right?
I hope this becomes good practice for some of you.
And if would help me out a lot. This is my only chance
at getting some java experience.
Thanks so much
Kourosh Keshavarzi
Wow thanks a lot
So I can actualy get the exam and then learn and work through the tidbits that I am not clear on slowly on my own time. You're right that sound great. Now I'm understanding the difference
beween this exam and the scjd. I don't have to memorize anything
or rush throw it just take it on my spare time. Now I'm thinking this is super easy and very possible. And I don't have to jdbc. Super. Thanks a lot.
P.S.
What is the test number that I need?
I heard there are different version of this developers exam that are multi vender(ex. like one with oracle). I just know java
I don't want to accidently get the wrong exam.
I'll look at suns sight and try to figure it out.
But if there is anything I should look out for or
if I have control over which exam I get and certian ones
are easier then let me know.
Thanks
Kourosh Keshavarzi
Hi I just passed thhe jcsp.
I just studied for 6 weeks and took the exam and got 88%.
I did not study jdbc or rmi because it wasn't on the exam.
That's what I'll be doing when I get some time.
At this point I'm considering the scjd as an imposibility.
I just wanted to have someone bring some light on it.
My understanding of the test is that you need
years of java experience (which I have none) and
knowlege of non-java concepts like corba or something.
You need to be able to build a project from the groud up.
So I figured wait till you get a java job and after you've done
a couple of projects then may be in a year start studying
for the exam.
Can someone shine some light on this test.
I need a step by step direction on how to accomplish this.
I made a lot of mistakes and I wish I had done a lot of thing differently while studying for scjp exam. I don't want to make the same mistake with this exam. So please go into tons of details not just generic statement like work hard or practice lots.
Thanks a lot for your help
Kourosh
Shubhangi, actualy I prepared for 6 weeks. I could have passed with say after 4 weeks of studying. But there is no way I could have gotten more than 70% at that time. I would say after you know everything every extra week you study you will increase you score by 9-10%.
I didn't have any java expreince. I just speed read through
1/2 of a java introduction book learned what an object is and
all that and the I started my preparation. I was not working during my preparation. That would have been impossible.
Even though I think I read another post were the lady was a single parent and was working and studied part time
in 2 month and passed.
If you are knew to java and just like me had no training and
no java experience and feel its impossible send me an email.
I can may be coach you and encourage you to do this. And I'd be able to go into more details all the mitake I made. I feel I wasted at least 2 1/2 week of my studying by just taking mindless notes and making a futile attempt at reading JLS.
Unless you're looking to get 90 - 100% please don't try to read
the JLS if you a beginner. Its not impossible. Infact anyone can do it.
As for the java.lang and the Object class you need to learn more than just definition and a good idea of what you can do with it.
This is a good and very easy area to practice in. The question
won't look like anything you've seen. That goes for 3-4 different
question I got. There were 3-4 time in the test were I thought
hey I didn't know you could use that in that way.
Let me be more specific:
Do you think you got a good handle on == and equals and what you can and can't do--you don't. Go back and take another look.
Play around with when you pass objects to other methods and have them manipulated by the other method. I can guarantee you all of those are tricky. Until you get how they are trying to trick you
as long as you think its obvious you got it wrong.
With IO concentrate on the main ones. The stuff you know you'd used most often in real life.
If I think of anything else I'll post it later.
OH and sorry for the long posts. I just realy want to
see everyone pass and not make the mistake I made.
I'm already trying to help some of my co-workers and
friends get certified.

Kourosh
21 years ago
I'd like to thank all the people who passed their exam and then posted
their opinion about the exam and gave study tips. Special thanks to people
who said that the exam was really tough. They really scared and motivated me.
I though I was ready after only 4 weeks of preparation but I extended it to
6 weeks. The main thing I did with the extra time was take a lot of practice exams.
Taking lots of practice exam is what helped me the most. I could have passed
the exam after 4 weeks but barely. If all you want to do is pass the exam then
the exam was pretty easy. If you understand the major concepts and are able to find
problem with code then just take maybe 5-6 practice exam and then go for it.
But if you want to get a high score then you'll have to study a lot more.
Just remember how in school the difference between a B and an A was twice the studying.
Same rule applies here.
The two major concerns for people seems to be threads and code intensive questions.
The thread question were not that bad I got 85% on that.
But then again I concentrated a little bit extra on threads.
As for code intensity, that's wasn't a problem. I think that helped me.
I love the new format of the exam. I think it must be easier than the old one.
At least its is for me since I am bad at memorizing and I think to make room
for the extra coded questions they took out lots of theoretical ambiguous type questions.
That�s great. You can stare at a theoretical question all day and if you don't know it you
won't ever get it. No matter how long you stare at it. But with coded question it might
take a little bit longer but you'll get the answer eventually.
But guess what part I did the worst at. java.lang. I got only 50% on that.
Everybody told me they did the worst on the easy stuff and I guess its true.
On the other hand my worst subjects like io I got 100%.
Anyway I am still going to be visiting this site and participating.
I think there is still a lot I could learn about java. And I would love to
be able to help any of you if I can. I will. Even if I don't know the answer
I'd love to research it. Now I got all the time in the world. Its nice to finally
be able to just learn java to learn java and not just rushing throw everything
just to pass the exam. Its going to be nice to be able to take my time and
practice one topic slowly and properly instead of going fast worrying about all
the other things I still have to learn. My problem is that I had a serious deadline.
Other wise I would have practiced coding a lot more. That�s the one thing I wish
I'd done. The week before the exam lock up all you notes and books and just
pick one subject everyday and practice the heck out of it. Just play with it
that will help you more than any book. A lot of the question you're only going
to get right if by luck you have tried that exact code before. Forget about the books
and the notes you already know everything you need to know if you only have a week
left. Just practice.
Thanks again everybody . I couldn't have done it without this friendly, supportive, professional site.
Kourosh Keshavarzi
21 years ago
Congradulations Sudhir
You must be so relieve to get it over with
It must feel good to not have to study so much.
What do you mean the Thread question are tricky?
Are they totaly different than the mock exams?
Kourosh
Prasanthi,
Congradulations.
I'm taking the exam on Monday and I'd be more than happy with that score.
Did you have prior java exprience?
Kourosh
[This message has been edited by Kourosh Keshavarzi (edited November 12, 2000).]
1. Its the garbage collector that decides for itself if
an object is not needed. You can set all reference to an
object to null to make sure that when the garbagecollector
looks at it will consider it eligible.
2. That's right you don't know when garbage collection will
happend and there is no order to it.
3. It's suppose to but there is no guarantee.
You can't be suure that a large object that using up
all your memory will be garbage collected before
you create 10 more. The other thing I read is that
there is this problem that java programers face on some
String intensive programs. They say that String
literals don't realy ever get garbage collected.
At least one copy stays in the pool forever.
Thanks Devika,
I would have never thought of that.
That what's wierd about java.
You use code like setVisible and setSize that you
didn't code yourself. I'm use to procedural language
were I code everything from scratch and so I alway know exactly
what my program does and and how it does it.
Thanks again
Kourosh Keshavarzi
I was playing around with layoutmangers and threads when
I ran into this situation where what I assign to north
doesn't occupy the entire frames width. It does occuppy the entire with after I do a resize with my mouse while the program is running. Before I learn from it I wanted to check to see am I doing something wrong or this is how BorderLayour works.
Here is the code run it for yourself and see:
import java.awt.*;
import java.awt.event.*;
import java.awt.Color.*;
public class lost extends Frame {
lost () {
setLayout(new BorderLayout());
Button B = new Button();
add(B,BorderLayout.NORTH);
setBackground(Color.green);
// add(B,"south");
addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e){System.exit(0);}
}
);
}
public static void main(String args[])
{
lost f = new lost();
f.setVisible(true);
f.setSize(600,600);
}
}
Thanks Anir,
I still can't imagine ever using this in real life code but
What you said makes since because it increase what you can get out of implementing an interface.
So you normaly wouldn't declare an inner class in a method and
then use it right there and then.
And you can only create an instance of the class
while inside the method or a method that overides or implements
the method.
Did I get more out of what you said than there was?
I understand all the rules I guess I just havn't seen any examples that implement this idea. Hopefuly I',ll find it in the book you recommended. I'll check it out.
For now thanks.
Kourosh Keshavarzi
Actualy I have 2 questions.
1. What the point of innerclass inside of a methed?
Why would I ever do this?
2. How do I create an object of that type outside the method?
From main for example.
Outer.inner doesn't work in this situation.
Thanks in advance.
Kourosh