Results 1 to 10 of 10
Thread: JAVA and J2EE
- 11-28-2007, 07:01 AM #1
Member
- Join Date
- Nov 2007
- Posts
- 16
- Rep Power
- 0
- 11-28-2007, 07:15 AM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,370
- Blog Entries
- 1
- Rep Power
- 26
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.
- 11-29-2007, 03:13 AM #3
Member
- Join Date
- Nov 2007
- Posts
- 16
- Rep Power
- 0
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
- 11-29-2007, 04:31 AM #4
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,370
- Blog Entries
- 1
- Rep Power
- 26
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.
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.:)
- 12-03-2007, 06:02 AM #5
Member
- Join Date
- Nov 2007
- Posts
- 16
- Rep Power
- 0
tenks a lot Eranga.
hope you well be my mentor, upon my journey in JAVA.
- 12-03-2007, 06:07 AM #6
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,370
- Blog Entries
- 1
- Rep Power
- 26
Never mind, I like to be that if I get a chance to do it......
- 12-03-2007, 06:23 AM #7
Member
- Join Date
- Nov 2007
- Posts
- 16
- Rep Power
- 0
hi,
im downloading right now NETbeans 5 for windows, it is good for the beginners? how about ECLIPSE?Its JAVA Time...:p
- 12-03-2007, 07:35 AM #8
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,370
- Blog Entries
- 1
- Rep Power
- 26
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"
- 12-03-2007, 12:58 PM #9
Member
- Join Date
- Nov 2007
- Posts
- 16
- Rep Power
- 0
ok, i will start on notepad, i think it is the best way to become a Pro.
Its JAVA Time...:p
- 12-04-2007, 06:28 AM #10
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,370
- Blog Entries
- 1
- Rep Power
- 26
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.
Similar Threads
-
Onsite UK for Java/J2EE Professional
By aman_max1981 in forum Reviews / AdvertisingReplies: 0Last Post: 11-23-2007, 11:02 AM -
Urgent Requirement for Java/J2ee
By anushareddy7480 in forum Java SoftwareReplies: 1Last Post: 07-23-2007, 01:35 PM -
openings on java/j2ee
By anushareddy7480 in forum Java AppletsReplies: 0Last Post: 07-23-2007, 11:59 AM -
Urgent Requirement for Java/J2ee
By anushareddy7480 in forum New To JavaReplies: 0Last Post: 07-23-2007, 11:56 AM -
best practices guide to Java/J2EE web aps
By javaforme44a in forum New To JavaReplies: 7Last Post: 07-18-2007, 07:47 AM
Bookmarks