Help coderanch get a
new server
by contributing to the fundraiser

Brian Joseph

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

Recent posts by Brian Joseph

Not really ideal to look for mock exams a day before the test. Dan's exams are good.
Dan's Exams
Thanks for posting your experiences, I think it helps a lot of job seekers to have some kind of mental picture going into an interview, even though they can vary considerably from company to company.
I would hope that would be the toughest question asked would be the difference between overloading and overriding! That's probably a "weeder" question.
[ August 18, 2003: Message edited by: Brian Joseph ]
20 years ago
We don't have the ability to watch threads int he forums?? That seems like a basic and essential feature of forums today. I love this site, but it's difficult to check up on posts and replies.
21 years ago
Java has a bad reputation at my company because everyone's desktop is a Sun Ultra5, so practially any java application runs like mud. Forget trying to use SunOne Studio or any IDE. People see it and recoil.
Linux, I don't know about, since I don't use. Since it's always touted as being fast and streamlined, maybe it runs well on a PC. Maybe sometime I'll revist Linux. I used it in college, but found it ridiculous to have to compile a program before installing it, and most of the window managers were buggy.
I have a P2 500MHz PC at work running Win2000. I wouldn't say by a long shot it is the most stable system around, but it can run java applications which I roughlyt estimate as being 10 times faster than any Sun workstation we have.
[ July 17, 2003: Message edited by: Brian Joseph ]
21 years ago
Thanks for your suggestions, Ernest.
21 years ago
I'm wondering about this problem. If you have a server process running, which you launched under your admin or root account, and a client application executes code on the server, say a system call, the server process will execute that system call as the admin or root instead of the user of the client application.
Is it possible to switch users or run the above mentioned system call as the user who is running the client application?
Thanks for any ideas. I'm still searching the groups and web for this information. This seems to be a common problem, so there must be a worked out solution already.
Thank you.
21 years ago
I found this, it covers the case where your process could lock up. It looks pretty good. The stdout and stderr is sent to a StringBuffer.
Thread On Runtime.exe blocking
[ July 11, 2003: Message edited by: Brian Joseph ]
21 years ago
I have a project where the application will run on both Windows and Solaris, however, the program is required to make some system calls only on the Unix side.
I was thinking of setting up an RMI server on a Unix machine and have my client application execute the system calls on the remote machine. My alternative would be to use RSH, which gets messy when you want your app to work on both Unix and the PC.
My question is about user permissions. The system calls must be executed as the user who launched the client application. Is it possible to switch users? Do I have to always launch the RMI server as root?
Thanks for any info or alternative ideas.
21 years ago
Hahah, that's so funny!
Bert, you're welcome. No intention of being male-centric, hahah, but the name Bert just sticks out first in my mind. And you probably don't want to hear the real reason... But yes, I'm sorry to say, I grew up watching Sesame Street and the name Bert has an immediate association with Bert and Ernie, and you'll note that Bert always came first when referring to those two characters! So whenever I hear you name, I picture a yellow muppet with a vertical football-shaped head. .
[ July 10, 2003: Message edited by: Brian Joseph ]
Dan's questions wrapped in a exam simulator would be the ultimate :-).
Fantastic job!!
I agree, studying for the exam helped sharpen my overall knowledge of the java language. I feel much better working in a language that I feel I have a certain level of expertise in. I would very rarely study as hard as I did on my own, or just for the hell of it. Having a goal to pass the exam kept me focused and interested in learning, which is why I personally like the certification route, even if it doesn't hold much weight on a resume.
21 years ago
You won't be tested on those methods which are not included in the list. Well, that's at least what my book says.
I'm not sure about the Vector question though.
Read the JavaRanch FAQ, and I personally recommend Dan's Exams, and the examulator.
Also, the "Bert and Kathy" book appears to be the best book out there for SCJP.
If you already know Java, it shouldn't take you too long to get up to speed. Give yourself enough time, and you'll know you're ready when you can revisit some of the mock exams and can answer most of the questions pretty easily without guessing.
Also, it helps to visit these forums often, read some of the problems posted, and maybe even answer a few of them. You learn a lot by trying to explain certain concepts to beginners
[ July 09, 2003: Message edited by: Brian Joseph ]
Well done, partner!
21 years ago