sri san

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

Recent posts by sri san

Hunter! Your solution is what I was looking for. Though I had a solution before your post, I didn't share for some personal reason. Actually, there's a better way:

Process process = Runtime.getRuntime().exec( "CMD /C SYSTEMINFO | FINDSTR /B /C:\"OS Name\"" );
BufferedReader bufferedReader = new BufferedReader( new InputStreamReader( process.getInputStream() ) );
String line = bufferedReader.readLine();
if( line.indexOf( "Professional" ) > 0 )
...

Again, Thanks much! for your efforts.

--Sannidhi--
12 years ago
Please refer to 4th post...
12 years ago
I too repeat - depending upon Windows edition, some installation decision is made.
12 years ago
Thanks for your input. I too had gone through the API before your post but, I'm not able to locate in the API which I'm looking for. May be I'm overlooking so, please let me know which API returns edition information.

Thanks much in advance,
--Sannidhi--
12 years ago
My sincere and humble apologies if that violates the post conditions / requirements. But, I had posted on SO first.
12 years ago
I didn't get what's "SO". Anyhow, to answer your point - depending upon Windows edition, some installation decision is made.
12 years ago
I want to check Windows "edition" - Basic or Home or Professional or Business or other, in Java. Please let me know the solution.

Thanks much in advance,
--Sannidhi--

CP - http://stackoverflow.com/questions/6109679/how-to-check-windows-edition-in-java
12 years ago
Hey Mark Vedder! Thanks for sharing your inputs, helped me too!

--Sannidhi--
12 years ago
Hey Cecilia! Thanks much for your post, helped me too!

--Sannidhi--
12 years ago
Hello Rob! Thanks much 4 such an awesome swift reply. After your reply, I noted and corrected my requirement - using java 1.5. My sincere apologies for inconvenience.
12 years ago
Hello!

As I'm not much into client side programming, I request for help.

Use case: A html file has as an applet/swing component which has a single line edit box which takes url to a file and a submit button. If button is clicked, program must read file specified as input and display as html file in new browser window.

Requirement: Using Java 1.5, how to display that input file in html format (.html) in a new browser window?

Please help. Thanks much in advance!

--Sannidhi--

Note: A similar post could be found on stackoverflow.com with same subject. To widen inputs, I had posted at two sites.
12 years ago
Hello all:

Please clarify the following:
1. Should parent-child relationship (generalization relationship association) be shown in analysis class diagram (in particular, SCEA PART 2 - class diagram)? I have a scenario in my project for class diagram where a composite pattern is a good fit which is based on parent-child relationship. I'm asking for this clarification as I think parent-child concept is to be presented as part of design and not analysis phase, may be I'm incorrect, please help me understand.
2. If no, will a dependency relationship suffice from parent to child?

Please share your thoughts/suggestions.

Thanks in advance.

--Sannidhi--
I do agree with Rodrigo Cunha on SCEA exam review and especaillay Whizlab and EPractize simulators. But, IMHO, time is quite sufficient. Regarding, exam time, it's subjective, I had done my questions in 90 mins and had 30 mins for review. It all depends, as Rodrigo Cunha, mentioned how quickly you can read and comprehend questions.

So, pracise a lot!

Good luck!

Cheers,
--Sannidhi--
I had purchased Whizlab and EPractise lab simulators. I would recommend Whizlab, though it has less no of questions, it has good questions. Between two, I recommend Whizlab but, it's ok to purchase EPractise also. The more you attempt the more your understanding and the more chances of clearing the exam. But, if your preparation is solid (by solid I mean, you really understand each objective under each topic listed for the exam) then, Whizlab is enoguh.

Apart from commercial simulators, there are sources which provide free questions and simulators (like - http://www.javablackbelt.com/QuestionnaireDefDisplay.wwa?questPublicId=00138), you are just a google away!

For more info on SCEA 5 part 1 and preparation, check this - https://coderanch.com/t/156842/java-Architect-SCEA/certification/Whizlabs-SCEA-good-enough

Good luck!

Cheers!
--Sannidh--
I missed your to address your questioin - "If I finish Whizlabs SCEA 5.0 and figure all questions out, can I pass it?", don't even expect to clear SCEA exam by just taking Whizlab questions. As I mentioned earlier, it will only enhance your understanding on JEE and exam.

My suggestion:
1. Prepare hard on SCEA topics, make sure to study each and every objective under all sections listed for the exam.
2. Attempt simulators and google for SCEA questionaire and you can try some free exams, again you gota google.
3. Most of the articles/materials/books on SCEA 5 still hold good except for obvious API updates such as EJB, Servlet, JSP and addition of new technologies like JSF. So, don't be reluctant to refer even old marterial/articles/books.

I would suggest the following for prearing SCEA 5 part 1:
1. EJB 3 in action book - Debu Panda, Reza Rahman and Derek Lane
2. J2EE design and development book - Rod Johnson - excellent - design
related info
3. J2EE development without EJB - Rod Johnson - excellent - design
related info
4. Deisgn Patterns book - GOF - excellent
5. Core J2EE Patterns book, Second Edition - Deepak Alur, John Crupi
and Dan Malks - excellent
6. SCEA for J2EE Study Guide book - Mark Cade and Simon Robers -
good refresher.
7. SCEA for Java EE Exam Study Guide book - Paul R. Allen and Joseph
J. Bambara Rok
8. The Java EE 5 Tutorial book - sun site
9. Design Patterns Java Companion book - James W. Cooper
10. Whizlabs preparation material - IMHO, must have simulator
11. EPractize labs - ok to have simulator
12. 'SCEA_J2EE' yahoo group is very good, you can find good uploaded
resources
13. Google for other topics - WebServices etc...
14. When in doubt, always refer to specs.

Good luck!

Cheers!
--Sannidhi--