Search the web
Sign In
New User? Sign Up
Java_Official · Java SE . EE . ME . AJAX . Web services
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 32213 - 32236 of 32236   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Show Message Summaries   (Group by Topic) Sort by Date v  
#32236 From: "sourabh" <ss_gujubhai@...>
Date: Thu Nov 26, 2009 5:36 am
Subject: Re: Java for Self Training
ss_gujubhai
Offline Offline
Send Email Send Email
 
Firstly u try doing using command line which will help u to understand concept
and working refer head first by Kathy sierra and use core editor like notepad
with command prompt.

for core java i suggest u to follow above. then moving to advance use any of IDE
u comfortable with. like Eclipse,Netbeans. try do u own.

#32235 From: Pete Morris <egnaro937@...>
Date: Wed Nov 25, 2009 5:42 pm
Subject: New Member, old coding heritage...
jafbulleteer
Offline Offline
Send Email Send Email
 
Hi, everyone,

I'm a Java newbie looking to find my path with this fascinating language.

I have a remote history of traditional(!) C, and I'm pleased to see it
reincarnated complete without the confusing bits. Because of this, I probably
have more to unlearn than learn; so my question:

Does anyone know of resources online for guiding C (notC++) veterans in the way
of Java?

  Blessings,

Pete Morris


[Non-text portions of this message have been removed]

#32234 From: shanmukha <shanmukha.k@...>
Date: Wed Nov 25, 2009 7:09 am
Subject: Re: [Java] Re: Java for Self Training
shanmukha_gitam
Offline Offline
Send Email Send Email
 
Eclipse is a good IDE to start with

www.eclipse.org/downloads

On Fri, Nov 20, 2009 at 8:41 AM, Haridhar Srivatsa K <
sachindevotee@...> wrote:

>
>
> Sir,
> Addressing you all -trickten, matt_j_harris, loyal_barber- three gentlemen
>
> Thanks for your very useful and precious suggestions. The books &
> references you suggested are useful and precious, as well-although I am yet
> go through them.
>
> If you don't feel that I am repeating my query, I would like to ask one
> thing. For a beginner like me, which is better 'command line' or IDE to
> start with? If IDE, which is 'the' best IDE among those available today?
>
> Thank you, sir.
>
> Haridhar Srivatsa
>
>
> --- In Java_Official@yahoogroups.com <Java_Official%40yahoogroups.com>,
> Matt Harris <matt_j_harris@...> wrote:
> >
> > trickten wrote:
> > > Hi,
> > >
> > > I am new to Java as well.
> > >
> > > I'll give you the suggestions I was given.
> > >
> > > First download the Eclipse IDE. It's the best Java editor from what I
> hear. (www.eclipse.org)
> > >
> > > Second was to go to Sun's website and start at the beginning. It'll not
> only tell you where you need to start, but what to download (with the
> associated links).
> > >
> > > Personally I also go to programmers heaven to download add'l code to
> play with, a forum, etc. (http://www.programmersheaven.com/tags/Java/)
> > >
> > > Good luck,
> > > Alex
> > >
> > > --- In Java_Official@yahoogroups.com <Java_Official%40yahoogroups.com>,
> "Haridhar Srivatsa K" <sachindevotee@> wrote:
> > >
> > >> Hello,
> > >> I just joined this high profile group and it gives me an immense
> pleasure to be a member of this group. This is my first post. Before you go
> through the message I want to tell you that I am novice to Java and I don't
> even have basic knowledge in Java.
> > >>
> > >> 1. What is difference between Core Java and Advanced Java?
> > >>
> > >> 2. Do I need to undergo traning in C, C++ before going for Java.I had
> very basic training in C, C++ in 2001-02.
> > >>
> > >> 3. I wish to download Java on to my computer (Windows Vista Business)
> and improve my programming skills. Can you, please, provide me complete
> information which version of Java is best for a novice like me and where to
> download it from, how to install, how to start programming. Which book will
> you recommend to have self-training- right from very basics- and practice.
> > >>
> > >> Pl provide me every thing in detail.
> > >>
> > >> Thanks in advance
> > >>
> > >> -Haridhar Srivatsa
> > I just started learning Java a little over a month (maybe 2) ago.
> >
> > I considered starting from the command-line, but I really do prefer
> > IDEs. After a trying out Eclipse and Netbeans, I went with Netbeans as
> > I liked the GUI Builder.
> >
> > I'd recommend the following, but YMMV applies:
> >
> > 1) Go here http://java.sun.com/javase/downloads/index.jsp . Download
> > "JDK 6 Update 17 with NetBeans 6.7.1." Also download "Java SE 6
> > Documentation"
> > I'd make sure that use pick the correct JDK (32 or 64 bit).
> >
> > 2) Start running through the Java Tutorials website:
> > Really Big Index:
> > http://java.sun.com/docs/books/tutorial/reallybigindex.html
> > Front Page: http://java.sun.com/docs/books/tutorial/reallybigindex.html
> >
> > 3) I also read some books:
> > Java For Dummies (mostly worthless)
> > Java For Dummies All In One Desk Reference (much better)
> > Core Java Volumes I & II (Excellent)
> > Java How to Program, 8/e was a textbook and really dense. Not what
> > I was looking for but might be useful
> >
> > --
> > Matt Harris
> > matt_j_harris@...
>
> > www.launchpadzero.net
> > ICQ: 1656005
> >
>
>
>



--
Regards,
shanmukha


[Non-text portions of this message have been removed]

#32233 From: "loyal_barber" <loyal_barber@...>
Date: Wed Nov 25, 2009 6:59 am
Subject: Re: Java Demo
loyal_barber
Offline Offline
Send Email Send Email
 
As a guy who does hiring I would not accept a demo.  There is no proof you even
built the demo.  I would just make certain you know your stuff.  When I
interview somebody, I find out what they know by starting with some basic
questions about the kind of builds the interviewee says they have done, then ask
specific questions about the technology.  Some "how would you do X?" questions.

Loyal

--- In Java_Official@yahoogroups.com, prashanta_d <no_reply@...> wrote:
>
> Hi everyone,
>
> I would like to make a java demo for prospective employers but I don't know
what to make. What would you guys suggest I make so that employers will know
that I have the skills?
>
> Thanks
>

#32232 From: "loyal_barber" <loyal_barber@...>
Date: Wed Nov 25, 2009 6:53 am
Subject: Re: Java for Self Training
loyal_barber
Offline Offline
Send Email Send Email
 
I personally believe you should use an IDE.  Doing things from the command line
will not teach you Java which is your stated purpose.  I found Netbeans much
easier to set up and learn for a newbie.

Loyal

--- In Java_Official@yahoogroups.com, "Haridhar Srivatsa K" <sachindevotee@...>
wrote:
>
> Sir,
> Addressing you all -trickten, matt_j_harris, loyal_barber- three gentlemen
>
> Thanks for your very useful and precious suggestions. The books & references
you suggested are useful and precious, as well-although I am yet go through
them.
>
> If you don't feel that I am repeating my query, I would like to ask one thing.
For a beginner like me, which is better 'command line' or IDE to start with? If
IDE, which is 'the' best IDE among those available today?
>
> Thank you, sir.
>
> Haridhar Srivatsa
>
> --- In Java_Official@yahoogroups.com, Matt Harris <matt_j_harris@> wrote:
> >
> > trickten wrote:
> > > Hi,
> > >
> > > I am new to Java as well.
> > >
> > > I'll give you the suggestions I was given.
> > >
> > > First download the Eclipse IDE. It's the best Java editor from what I
hear. (www.eclipse.org)
> > >
> > > Second was to go to Sun's website and start at the beginning. It'll not
only tell you where you need to start, but what to download (with the associated
links).
> > >
> > > Personally I also go to programmers heaven to download add'l code to play
with, a forum, etc. (http://www.programmersheaven.com/tags/Java/)
> > >
> > > Good luck,
> > > Alex
> > >
> > > --- In Java_Official@yahoogroups.com, "Haridhar Srivatsa K"
<sachindevotee@> wrote:
> > >
> > >> Hello,
> > >> I just joined this high profile group and it gives me an immense pleasure
to be a member of this group. This is my first post. Before you go through the
message I want to tell you that I am novice to Java and I don't even have basic
knowledge in Java.
> > >>
> > >> 1. What is difference between Core Java and Advanced Java?
> > >>
> > >> 2. Do I need to undergo traning in C, C++ before going for Java.I had
very basic training in C, C++ in 2001-02.
> > >>
> > >> 3. I wish to download Java on to my computer (Windows Vista Business) and
improve my programming skills. Can you, please, provide me complete information
which version of Java is best for a novice like me and where to download it
from, how to install, how to start programming. Which book will you recommend to
have self-training- right from very basics- and practice.
> > >>
> > >> Pl provide me every thing in detail.
> > >>
> > >> Thanks in advance
> > >>
> > >> -Haridhar Srivatsa
> > I just started learning Java a little over a month (maybe 2) ago.
> >
> > I considered starting from the command-line, but I really do prefer
> > IDEs.  After a trying out Eclipse and Netbeans, I went with Netbeans as
> > I liked the GUI Builder.
> >
> > I'd recommend the following, but YMMV applies:
> >
> > 1) Go here http://java.sun.com/javase/downloads/index.jsp  . Download
> > "JDK 6 Update 17 with NetBeans 6.7.1."   Also download  "Java SE 6
> > Documentation"
> >     I'd make sure that use pick the correct JDK (32 or 64 bit).
> >
> > 2) Start running through the Java Tutorials website:
> >     Really Big Index:
> > http://java.sun.com/docs/books/tutorial/reallybigindex.html
> >     Front Page: http://java.sun.com/docs/books/tutorial/reallybigindex.html
> >
> > 3) I also read some books:
> >      Java For Dummies (mostly worthless)
> >      Java For Dummies All In One Desk Reference (much better)
> >      Core Java Volumes I & II (Excellent)
> >      Java How to Program, 8/e  was a textbook and really dense. Not what
> > I was looking for but might be useful
> >
> > --
> > Matt Harris
> > matt_j_harris@
> > www.launchpadzero.net
> > ICQ: 1656005
> >
>

#32231 From: piramu s <ssspiramu@...>
Date: Tue Nov 24, 2009 11:33 am
Subject: APPLICATION SERVER
ssspiramu
Offline Offline
Send Email Send Email
 
HI guys,...

i am new to application server concept... where can i get an usefull resource to
read abt application server... I also want to find the  BEst between the JBOSS
AND GLASSFISH Application server... so guys help me.. to find this... i rely on
u guys...

  bye
by
spiru



       The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
http://in.yahoo.com/

[Non-text portions of this message have been removed]

#32230 From: "Haridhar Srivatsa K" <sachindevotee@...>
Date: Fri Nov 20, 2009 3:11 am
Subject: [Java] Re: Java for Self Training
sachindevotee
Offline Offline
Send Email Send Email
 
Sir,
Addressing you all -trickten, matt_j_harris, loyal_barber- three gentlemen

Thanks for your very useful and precious suggestions. The books & references you
suggested are useful and precious, as well-although I am yet go through them.

If you don't feel that I am repeating my query, I would like to ask one thing.
For a beginner like me, which is better 'command line' or IDE to start with? If
IDE, which is 'the' best IDE among those available today?

Thank you, sir.

Haridhar Srivatsa

--- In Java_Official@yahoogroups.com, Matt Harris <matt_j_harris@...> wrote:
>
> trickten wrote:
> > Hi,
> >
> > I am new to Java as well.
> >
> > I'll give you the suggestions I was given.
> >
> > First download the Eclipse IDE. It's the best Java editor from what I hear.
(www.eclipse.org)
> >
> > Second was to go to Sun's website and start at the beginning. It'll not only
tell you where you need to start, but what to download (with the associated
links).
> >
> > Personally I also go to programmers heaven to download add'l code to play
with, a forum, etc. (http://www.programmersheaven.com/tags/Java/)
> >
> > Good luck,
> > Alex
> >
> > --- In Java_Official@yahoogroups.com, "Haridhar Srivatsa K" <sachindevotee@>
wrote:
> >
> >> Hello,
> >> I just joined this high profile group and it gives me an immense pleasure
to be a member of this group. This is my first post. Before you go through the
message I want to tell you that I am novice to Java and I don't even have basic
knowledge in Java.
> >>
> >> 1. What is difference between Core Java and Advanced Java?
> >>
> >> 2. Do I need to undergo traning in C, C++ before going for Java.I had very
basic training in C, C++ in 2001-02.
> >>
> >> 3. I wish to download Java on to my computer (Windows Vista Business) and
improve my programming skills. Can you, please, provide me complete information
which version of Java is best for a novice like me and where to download it
from, how to install, how to start programming. Which book will you recommend to
have self-training- right from very basics- and practice.
> >>
> >> Pl provide me every thing in detail.
> >>
> >> Thanks in advance
> >>
> >> -Haridhar Srivatsa
> I just started learning Java a little over a month (maybe 2) ago.
>
> I considered starting from the command-line, but I really do prefer
> IDEs.  After a trying out Eclipse and Netbeans, I went with Netbeans as
> I liked the GUI Builder.
>
> I'd recommend the following, but YMMV applies:
>
> 1) Go here http://java.sun.com/javase/downloads/index.jsp  . Download
> "JDK 6 Update 17 with NetBeans 6.7.1."   Also download  "Java SE 6
> Documentation"
>     I'd make sure that use pick the correct JDK (32 or 64 bit).
>
> 2) Start running through the Java Tutorials website:
>     Really Big Index:
> http://java.sun.com/docs/books/tutorial/reallybigindex.html
>     Front Page: http://java.sun.com/docs/books/tutorial/reallybigindex.html
>
> 3) I also read some books:
>      Java For Dummies (mostly worthless)
>      Java For Dummies All In One Desk Reference (much better)
>      Core Java Volumes I & II (Excellent)
>      Java How to Program, 8/e  was a textbook and really dense. Not what
> I was looking for but might be useful
>
> --
> Matt Harris
> matt_j_harris@...
> www.launchpadzero.net
> ICQ: 1656005
>

#32229 From: prashanta_d
Date: Sun Nov 22, 2009 4:35 pm
Subject: Java Demo
prashanta_d
Offline Offline
 
Hi everyone,

I would like to make a java demo for prospective employers but I don't know what
to make. What would you guys suggest I make so that employers will know that I
have the skills?

Thanks

#32228 From: "Steve P" <liveactionsteve@...>
Date: Wed Nov 18, 2009 4:37 pm
Subject: Re: Javascript Question
liveactionsteve
Offline Offline
Send Email Send Email
 
It is the client (the browser) that caches Javascript.  This will happen if the
javascript is a reference to a javascript file, such as

<script language="JavaScript" src="js/myFile.js"></script>

and not contained within the page's HTML, such as

<script language="JavaScript">
   .
   .
   .
</script>

If the user restarts the browser, it will retrieve the updated javascript file
(myFile.js, in this case).

--- In Java_Official@yahoogroups.com, "MichaelC" <mcraghead@...> wrote:
>
> I'm not really a web front end guy, so the answer below might still be
correct, but if I understand correctly the client still gets the script from the
server. Don't the servers, depending on configuration, cache those scripts or
are they reloaded every time? If they are cached, how do the clients get the
latest version and not the cached version? Would the cache automatically get
replaced when a new version is saved? I'm just trying to get a better
understanding of what is happening under the covers, rather than just accepting
the once a new version is available the client will execute it, even if that
statement is true.
>
> Michael K. Craghead
>
>
>
> --- In Java_Official@yahoogroups.com, Burak <xface66@> wrote:
> >
> > no. javascript runs on clients. not server.
> >
>

#32227 From: Java Guy <javaguy@...>
Date: Wed Nov 18, 2009 12:23 am
Subject: Re: [Java] Re: Javascript Question
mmjavaguy
Offline Offline
Send Email Send Email
 
Michael,

Servers don't cache the scripts and pages, the client (browser) does.
And, yes, your scripts will not reload if you indicate in the HTML a
page expiration date. Any reloads before then will be handled solely in
the browser. But, remember, this affects all aspects of your web page:
not only the JavaScript, but the CSS, the HTML, and any other specialty
objects you have. If you have an input form on the page, DON'T DO
THIS!!!, for an updated page will not load in this case.

-Java Guy


MichaelC wrote:
>
> I'm not really a web front end guy, so the answer below might still be
> correct, but if I understand correctly the client still gets the
> script from the server. Don't the servers, depending on configuration,
> cache those scripts or are they reloaded every time? If they are
> cached, how do the clients get the latest version and not the cached
> version? Would the cache automatically get replaced when a new version
> is saved? I'm just trying to get a better understanding of what is
> happening under the covers, rather than just accepting the once a new
> version is available the client will execute it, even if that
> statement is true.
>
> Michael K. Craghead
>
> --- In Java_Official@yahoogroups.com
> <mailto:Java_Official%40yahoogroups.com>, Burak <xface66@...> wrote:
> >
> > no. javascript runs on clients. not server.
> >
>
>

#32226 From: "MichaelC" <mcraghead@...>
Date: Tue Nov 17, 2009 3:34 pm
Subject: Re: Javascript Question
mcraghead
Offline Offline
Send Email Send Email
 
I'm not really a web front end guy, so the answer below might still be correct,
but if I understand correctly the client still gets the script from the server.
Don't the servers, depending on configuration, cache those scripts or are they
reloaded every time? If they are cached, how do the clients get the latest
version and not the cached version? Would the cache automatically get replaced
when a new version is saved? I'm just trying to get a better understanding of
what is happening under the covers, rather than just accepting the once a new
version is available the client will execute it, even if that statement is true.

Michael K. Craghead



--- In Java_Official@yahoogroups.com, Burak <xface66@...> wrote:
>
> no. javascript runs on clients. not server.
>

#32225 From: Burak <xface66@...>
Date: Sun Nov 15, 2009 9:37 pm
Subject: (No subject)
xface66
Offline Offline
Send Email Send Email
 
you have to give more information. you can send us error stack.





[Non-text portions of this message have been removed]

#32224 From: Burak <xface66@...>
Date: Sun Nov 15, 2009 9:35 pm
Subject: (No subject)
xface66
Offline Offline
Send Email Send Email
 
no. javascript runs on clients. not server.





[Non-text portions of this message have been removed]

#32223 From: muni krishna <krishnaj_2004@...>
Date: Mon Nov 16, 2009 4:13 am
Subject: Re: [Java] Javascript Question
krishnaj_2004
Offline Offline
Send Email Send Email
 
Hi,

Not necessary. Just save it in notepad and refresh the page then u can get it.

Regards,
krishna

--- On Fri, 13/11/09, yairyongo <yairyongo@...> wrote:

From: yairyongo <yairyongo@...>
Subject: [Java] Javascript Question
To: Java_Official@yahoogroups.com
Date: Friday, 13 November, 2009, 2:27 AM







 









       Hi everybody!



I have a  dumb question or not about JavaScript:



Do I have to restart my server  everytime when I change my js?



Thanks!



Regards!























       The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
http://in.yahoo.com/

[Non-text portions of this message have been removed]

#32222 From: Riyant Kurniawan <riyant.kurniawan@...>
Date: Sun Nov 15, 2009 11:49 pm
Subject: Re: [Java] Re: require hibernate material
riyant.kurni...
Offline Offline
Send Email Send Email
 
Hi,

Start from www.hibernate.org and download hibernate document.

On Thu, Oct 22, 2009 at 10:56 AM, agarwal.ankit87
<agarwal.ankit87@...>wrote:

>
>
> Hi,
>
> Here is a nice Hibernate tutorial for beginners , just go through it
> from here,
> http://www.ezdia.com/Hibernate_tutorials_on_Netbeans/Content.do?id=688
>
>
> --- In Java_Official@yahoogroups.com <Java_Official%40yahoogroups.com>,
> "vdysr" <vdysr@...> wrote:
> >
> > Hello,
> >
> > I want to learn complete hibernate from beginning.
> > Kindly siggest some tutorials for hibernate with sample applicaiton.
> >
> > Thanks&regards
> > Sri
> >
>
>
>



--

Danke Schon,
Riyant Kurniawan


[Non-text portions of this message have been removed]

#32221 From: Khosro Asgharifard <khosro_question@...>
Date: Fri Nov 13, 2009 6:11 pm
Subject: Re: [Java] Re: outofmemory error
khosro_question
Offline Offline
Send Email Send Email
 
Hi,
Set JVM  option in your program or your IDE(Netbeans  or ...) to :-Xms100m
-Xmx1024m -XX:MaxPermSize=512m
or find the best JVM's arguments for your system,i mean you can change 100m or
1024m or 512m  according to your RAM in
your system.

Khosro.




________________________________
From: saurabh_29july <saurabh_29july@...>
To: Java_Official@yahoogroups.com
Sent: Fri, November 13, 2009 3:35:51 AM
Subject: [Java] Re: outofmemory error



Check your code for, hope you will possibly find a memory leak thier itself.

Incase you don't find it.. you can use a profiler.!! :)
--- In Java_Official@ yahoogroups. com, rama krishna <ramakrishnaakella_ 31@...>
wrote:
>
> Hi All,
> How to resolve outofmemory error?
>
> Thanks
> Ramakrishna
>
>
>       Add whatever you love to the Yahoo! India homepage. Try now!
http://in.yahoo. com/trynew
>
> [Non-text portions of this message have been removed]
>







[Non-text portions of this message have been removed]

#32220 From: "yairyongo" <yairyongo@...>
Date: Thu Nov 12, 2009 8:57 pm
Subject: Javascript Question
yairyongo
Offline Offline
Send Email Send Email
 
Hi everybody!

I have a  dumb question or not about JavaScript:

Do I have to restart my server  everytime when I change my js?

Thanks!

Regards!

#32219 From: "saurabh_29july" <saurabh_29july@...>
Date: Fri Nov 13, 2009 7:05 am
Subject: Re: outofmemory error
saurabh_29july
Online Now Online Now
Send Email Send Email
 
Check your code for, hope you will possibly find a memory leak thier itself.

Incase you don't find it.. you can use a profiler.!! :)
--- In Java_Official@yahoogroups.com, rama krishna <ramakrishnaakella_31@...>
wrote:
>
> Hi All,
> How to resolve outofmemory error?
>  
> Thanks
> Ramakrishna
>
>
>       Add whatever you love to the Yahoo! India homepage. Try now!
http://in.yahoo.com/trynew
>
> [Non-text portions of this message have been removed]
>

#32218 From: Lei Hudie <hudielei85@...>
Date: Tue Nov 10, 2009 1:13 am
Subject: Re: [Java] Problem with File I/O
hudielei85
Offline Offline
Send Email Send Email
 
________________________________
From: mas.kosumo <mas.kosumo@...>
To: Java_Official@yahoogroups.com
Sent: Sun, November 8, 2009 5:03:26 AM
Subject: [Java] Problem with File I/O


Hi guys,

I have a problem with my program. I tried to make a simple program to download
pdf file from internet. First, I tried to use it for downloading text and html
file, it works well. but, it didn't work with pdf file. the program could
produce output file, but it can't be opened.

Here is the code snippet:

java.io.BufferedInp utStream in = new java.io.BufferedInp utStream( new
java.net.URL( "http://www.digilife .be/quickreferen ces/QRC/JAVA%
20Quick%20Refere nce.pdf").openStream( ));
java.io.FileOutputS tream fos = new java.io.FileOutputS tream("output. pdf");
java.io.BufferedOut putStream bout = new BufferedOutputStrea m(fos,1024) ;
byte data[] = new byte[1024];
while(in.read( data,0,1024) >=0)
{
bout.write(data) ;
}
bout.close() ;
in.close();

Anyone could give me the clue? BTW, is there any website that provide free java
library, especially one that support file operation (download, upload, etc)?

Thanks in advance.



The web http://www.apache.org





[Non-text portions of this message have been removed]

#32217 From: "loyal_barber" <loyal_barber@...>
Date: Mon Nov 9, 2009 9:06 pm
Subject: Re: JavaEE self tranning
loyal_barber
Offline Offline
Send Email Send Email
 
--- In Java_Official@yahoogroups.com, "shankar" <shankarajmera@...> wrote:
>
> please any body help me how to start a JavaEE.I my knowledge in core java is
good. u give me some good books name to cover the advance java topic
servlet,jsp,java Been,EJB etc.
>

1. Get the java EE, Glassfish, and Netbeans (IDE) combo from Sun.

http://java.sun.com/javaee/downloads/index.jsp?userOsIndex=1&userOsId=linux&user\
OsName=Linux

That is the link for Linux.  If you are a Windoze user, go to java.sun.com.  On
the right select Java EE.  Click the "downloads" tab.  This should give you the
same list, but for windoze.  Under Linux, this bundle is the furthest to the
right.  The reason I suggest this is it will get all of the tools you need to
develop, deploy, and test within one bundle on one computer.  Glassfish is a
J2EE server that is well integrated with the Netbeans IDE.  You can dev, build,
and run without having to know much about the startup etc for the Glassfish
server.

1a.  I would also get the MySQL database.  You will need it for
Enterprise Java Beans development tutorials.  Again, this is avail-
able from Sun so the integration with the other products is
excellent.

2. Books.  First, go through all of the tutorials available as
tutorials on the Sun java site.  http://java.sun.com/javaee/5/docs
/tutorial/doc/.  I would also go through the tutorials on the home
page of the Netbeans IDE in order to get used to that tool.  The
book I am using is Murach's Java Servlets and JSP.  That may not sound
like J2EE, but trust me, it is.  You will need all of the building
blocks in this book to be able to do what you want.

Thanks,
Loyal

#32216 From: "mas.kosumo" <mas.kosumo@...>
Date: Sat Nov 7, 2009 9:03 pm
Subject: Problem with File I/O
mas.kosumo
Offline Offline
Send Email Send Email
 
Hi guys,

I have a problem with my program. I tried to make a simple program to download
pdf file from internet. First, I tried to use it for downloading text and html
file, it works well. but, it didn't work with pdf file. the program could
produce output file, but it can't be opened.

Here is the code snippet:

java.io.BufferedInputStream in = new java.io.BufferedInputStream(new
java.net.URL("http://www.digilife.be/quickreferences/QRC/JAVA%20Quick%20Referenc\
e.pdf").openStream());
java.io.FileOutputStream fos = new java.io.FileOutputStream("output.pdf");
java.io.BufferedOutputStream bout = new BufferedOutputStream(fos,1024);
byte data[] = new byte[1024];
while(in.read(data,0,1024)>=0)
{
   bout.write(data);
}
bout.close();
in.close();

Anyone could give me the clue? BTW, is there any website that provide free java
library, especially one that support file operation (download, upload, etc)?

Thanks in advance.

#32215 From: Matt Harris <matt_j_harris@...>
Date: Fri Nov 6, 2009 2:55 am
Subject: Re: [Java] Re: Java for Self Training
matt_j_harris
Offline Offline
Send Email Send Email
 
trickten wrote:
> Hi,
>
> I am new to Java as well.
>
> I'll give you the suggestions I was given.
>
> First download the Eclipse IDE. It's the best Java editor from what I hear.
(www.eclipse.org)
>
> Second was to go to Sun's website and start at the beginning. It'll not only
tell you where you need to start, but what to download (with the associated
links).
>
> Personally I also go to programmers heaven to download add'l code to play
with, a forum, etc. (http://www.programmersheaven.com/tags/Java/)
>
> Good luck,
> Alex
>
> --- In Java_Official@yahoogroups.com, "Haridhar Srivatsa K"
<sachindevotee@...> wrote:
>
>> Hello,
>> I just joined this high profile group and it gives me an immense pleasure to
be a member of this group. This is my first post. Before you go through the
message I want to tell you that I am novice to Java and I don't even have basic
knowledge in Java.
>>
>> 1. What is difference between Core Java and Advanced Java?
>>
>> 2. Do I need to undergo traning in C, C++ before going for Java.I had very
basic training in C, C++ in 2001-02.
>>
>> 3. I wish to download Java on to my computer (Windows Vista Business) and
improve my programming skills. Can you, please, provide me complete information
which version of Java is best for a novice like me and where to download it
from, how to install, how to start programming. Which book will you recommend to
have self-training- right from very basics- and practice.
>>
>> Pl provide me every thing in detail.
>>
>> Thanks in advance
>>
>> -Haridhar Srivatsa
I just started learning Java a little over a month (maybe 2) ago.

I considered starting from the command-line, but I really do prefer
IDEs.  After a trying out Eclipse and Netbeans, I went with Netbeans as
I liked the GUI Builder.

I'd recommend the following, but YMMV applies:

1) Go here http://java.sun.com/javase/downloads/index.jsp  . Download
"JDK 6 Update 17 with NetBeans 6.7.1."   Also download  "Java SE 6
Documentation"
     I'd make sure that use pick the correct JDK (32 or 64 bit).

2) Start running through the Java Tutorials website:
     Really Big Index:
http://java.sun.com/docs/books/tutorial/reallybigindex.html
     Front Page: http://java.sun.com/docs/books/tutorial/reallybigindex.html

3) I also read some books:
      Java For Dummies (mostly worthless)
      Java For Dummies All In One Desk Reference (much better)
      Core Java Volumes I & II (Excellent)
      Java How to Program, 8/e  was a textbook and really dense. Not what
I was looking for but might be useful

--
Matt Harris
matt_j_harris@...
www.launchpadzero.net
ICQ: 1656005

#32214 From: "shankar" <shankarajmera@...>
Date: Sun Nov 8, 2009 4:29 am
Subject: JavaEE self tranning
shankarajmera
Offline Offline
Send Email Send Email
 
please any body help me how to start a JavaEE.I my knowledge in core java is
good. u give me some good books name to cover the advance java topic
servlet,jsp,java Been,EJB etc.

#32213 From: "loyal_barber" <loyal_barber@...>
Date: Mon Nov 2, 2009 10:23 pm
Subject: Re: Java for Self Training
loyal_barber
Offline Offline
Send Email Send Email
 
see in-line comments below:

--- In Java_Official@yahoogroups.com, "Haridhar Srivatsa K" <sachindevotee@...>
wrote:
>
> Hello,
> <snip>

>
> 1. What is difference between Core Java and Advanced Java?

I will give you my opinion then let other trash me.  I am pretty
new to Java also.  Core Java is the first you should learn.  It
is java and only java coding where you can run the process from
the command line.  This will give you the basis on which to build.
Advanced Java involves the Web, messenging, database access, and a
thing called Enterprise Java Beans, etc.  These things enable you to
produce world-class applications.

You don't need the advanced to start out nor would I recommend that.
Learn the basics of java first.

>
> 2. Do I need to undergo traning in C, C++ before going for Java.I
> had very basic training in C, C++ in 2001-02.
>

No, absolutely not.  However the earlier training you had in C and
C++ will actually apply pretty well.  While Java is its own beast,
The creators were smart enough to borrow ideas of good programming
languages that already existed.  It is very obvious to me that the
creators knew C++ and took the best while fixing the rest. (IMHO)

> 3. I wish to download Java on to my computer (Windows Vista
> Business) and improve my programming skills. Can you, please,
> provide me complete information which version of Java is best for a
> novice like me and where to download it from, how to install, how
> to start programming. Which book will you recommend to have
> self-training- right from very basics- and practice.

Go to java.sun.com.  On the right click "Java SE".  That will take
you to a page to download "JDK 6 Update 16 with NetBeans 6.7.1".
This package will get you two products: 1. the Java Development Kit
version 6 update 16 and the NetBeans integrated development environ-
ment.  You don't need the second item to start, but will want it
as you learn.  The text editor in it is geared toward Java and will
help you every step along the way.

As for where to start, here are a couple of suggestions:
1. Go to http://java.sun.com/javase/reference/index.jsp and go through
the Sun tutorials.  Stick with the basics though, don't go for web
etc until you are comfortable with the basics.
2. My favorite book is "Thinking in Java" by Bruce Eckel.  You can
download the prior version FOR FREE here:
http://www.odioworks.com/46-Bruce_Eckel%27s_Free_Electronic_Books.html . The
latest revision
is available from most book sellers.  However, you will have to be
getting Java pretty good to need something past that free version.

>
> Pl provide me every thing in detail.
>
> Thanks in advance
>
> -Haridhar Srivatsa
>

You are welcome,
Loyal

Messages 32213 - 32236 of 32236   Newest  |  < Newer  |  Older >  |  Oldest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help