Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-28-2007, 07:01 AM
Member
 
Join Date: Nov 2007
Posts: 16
Rep Power: 0
rgbosque is on a distinguished road
Question JAVA and J2EE
hi guys,

im always confusing about these term JAVA and J2EE.

what is the difference both of this?
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 11-28-2007, 07:15 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 6,525
Rep Power: 9
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Default
JAVA is computer software product developed by Sun Microsystem, which provide a system for developing and deploying cross-platform applications.

J2EE(Enterprise Edition) is a Java platform designed for the mainframe-scale computing typical of large enterprises.

Java is a collection of those, J2ME, J2SE and J2EE.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Someone helped you?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.
Help:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Resources:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Web:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Tips:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 11-29-2007, 03:13 AM
Member
 
Join Date: Nov 2007
Posts: 16
Rep Power: 0
rgbosque is on a distinguished road
Default
thenks a lot Eranga...
then what should i learn first as a newbie on this language?

Additional:
if i run this simple code of "if then statement" the name Variable is not returning TRUE if i entered a "RODEL". Is "if then statement" is only for numbers?
Thanks in advance...

This is a code:
import javax.swing.JOptionPane;

class DialogBox {
public static void main(String[] args) {

JFrame frame = new JFrame();

String name = JOptionPane.showInputDialog("What is your name:");

if (name == "Rodel") {
JOptionPane.showMessageDialog(frame,"You are " + name);
}
else {
JOptionPane.showMessageDialog(frame,"I Dont Recognize Your Name");
}


}
}

Last edited by rgbosque; 11-29-2007 at 03:15 AM. Reason: wrong Jave Code Presentation
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 11-29-2007, 04:31 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 6,525
Rep Power: 9
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Default
Originally Posted by rgbosque View Post
then what should i learn first as a newbie on this language?
You should learn standard Java concepts first, that is J2SE(Standard Edition). Lots of books also available, I'm Sam's publication user. If you can find this book.

Sams Teach Yourself Java in 21 Days

Excellent book for beginners, I told you in my experience.



Originally Posted by rgbosque View Post
Additional:
if i run this simple code of "if then statement" the name Variable is not returning TRUE if i entered a "RODEL". Is "if then statement" is only for numbers?
Thanks in advance...

This is a code:
import javax.swing.JOptionPane;

class DialogBox {
public static void main(String[] args) {

JFrame frame = new JFrame();

String name = JOptionPane.showInputDialog("What is your name:");

if (name == "Rodel") {
JOptionPane.showMessageDialog(frame,"You are " + name);
}
else {
JOptionPane.showMessageDialog(frame,"I Dont Recognize Your Name");
}


}
}
I'll try to explain in simple words as much as possible. Simply for your question, the answer is NO. name is a String type variable. If the variable is Rodel, output is "You are Rodel". It gives on the "if" condition.

If not in "else" condition, your output is "I Dont Recognize Your Name". In this case if-else is not for numbers, for String, that is sequence of characters(letters, numbers, etc..)

JFrame and stuff are focusing on graphical format. You can learn those stuff in J2SE. In the code you have provide some errors. Try to find those later.

Hope it is clear to you.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Someone helped you?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.
Help:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Resources:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Web:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Tips:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 12-03-2007, 06:02 AM
Member
 
Join Date: Nov 2007
Posts: 16
Rep Power: 0
rgbosque is on a distinguished road
Default
tenks a lot Eranga.

hope you well be my mentor, upon my journey in JAVA.
Bookmark Post in Technorati
Reply With Quote
  #6 (permalink)  
Old 12-03-2007, 06:07 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 6,525
Rep Power: 9
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Default
Never mind, I like to be that if I get a chance to do it......
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Someone helped you?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.
Help:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Resources:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Web:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Tips:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #7 (permalink)  
Old 12-03-2007, 06:23 AM
Member
 
Join Date: Nov 2007
Posts: 16
Rep Power: 0
rgbosque is on a distinguished road
Default
hi,
im downloading right now NETbeans 5 for windows, it is good for the beginners? how about ECLIPSE?
__________________
Its JAVA Time...
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #8 (permalink)  
Old 12-03-2007, 07:35 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 6,525
Rep Power: 9
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Default
I think netbeans is more better than eclipse. But actually I don't have much experience about those two IDEs. When I'm start work in Java, I used notepad and later move to the IntelliJ IDEA. That is the best IDE I've found on Java.

If you are looking more details about it, post your question on our forum, "Java IDEs"
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Someone helped you?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.
Help:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Resources:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Web:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Tips:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #9 (permalink)  
Old 12-03-2007, 12:58 PM
Member
 
Join Date: Nov 2007
Posts: 16
Rep Power: 0
rgbosque is on a distinguished road
Default
ok, i will start on notepad, i think it is the best way to become a Pro.
__________________
Its JAVA Time...
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #10 (permalink)  
Old 12-04-2007, 06:28 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 6,525
Rep Power: 9
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Default
What I think is that your decision is ok, but actually it is better if you can move with an IDE. When you use notepad, there is a chance to you, that you are more familiar with keywords, data types and many more. But all of those you should use.

On an IDE it is not, you can see all the related methods and stuff while coding.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Someone helped you?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.
Help:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Resources:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Web:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Tips:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Onsite UK for Java/J2EE Professional aman_max1981 Reviews / Advertising 0 11-23-2007 11:02 AM
Urgent Requirement for Java/J2ee anushareddy7480 Java Announcements 1 07-23-2007 01:35 PM
openings on java/j2ee anushareddy7480 Java Applets 0 07-23-2007 11:59 AM
Urgent Requirement for Java/J2ee anushareddy7480 New To Java 0 07-23-2007 11:56 AM
best practices guide to Java/J2EE web aps javaforme44a New To Java 7 07-18-2007 07:47 AM


All times are GMT +2. The time now is 12:37 AM.



VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org