on 08-22-2006 4:19 PM
I am basically new to Java and trying to learn this language. I installed JDK and learning the basic concepts of Java(class, Objects, Inheritance, Function Overloading, Overhiding, Exception handling etc), by writing many programs and I am able to get the concepts of OOPS Very Well
You can guide me anything else I need to cover in the Core Java.
Now I have few other goals. Like learning
1) EJB 2) Servlets and 3) Web Service 4) J2ee
To do the above task would you please tell me what are all the softwares I need to install at my machine.
Thank you
Hi,
Bruce Eckel's 'Thinking in Java' is an excellent book on Java. It is available for download. E.g. here:
http://www.mindview.net/Books/TIJ/
Other good resources can be found at
http://java.sun.com/javaee/reference/index.jsp
Good luck
Roelof
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Knibbe for your answer. Bascially I am not looking for any documents at this point. I an trying to understand how should I approach JAVA i.e without learning the fundamentals I cannot jump into the higher level concepts like servlets for example.
So I am trying to see what exactly I need to study in Java?
Would some could help me out please? thanks
Hi,
Well you could install Tomcat and have a look at (and make changes to) the examples there. JSP's is the easy approach for creating servlets. EJB's are not supported in Tomcat. For that, you can use NWDS.
Also NWDS has some wizards for generating J2EE modules and applications, for creating beans etc. if you select the right perspective.
NWDS has a nice visual interface for exploring these concepts.
Still I recommend downloading the Thinking in Java PDF. It is also a great reference for Java concepts, you don't need to read it entirely.
Good luck,
Roelof
Hi Jenni,
Go through this link for J2EE examples using this you can also enhance your application.
http://help.sap.com/saphelp_nw04/helpdata/en/7d/cf0c8abcc34594ba9d3bbd5dd22155/frameset.htm
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html
http://www.weblogic.com/docs/examples/ejb/Package-examples.ejb.html
http://www.dynamic-apps.com/tutorials/EJB_1.jsp
http://www.tusc.com.au/tutorial/html/chap6.html
Deploy your EJB project(specify JNDI name) in Application server. you can call your EJB using following code.
Create simple java applcation do the following steps:
public class SSample {
public static void main(String[] args) {
SampleEJB remote = null;
try {
Context ctx = new InitialContext();
SampleEJBHome home = (SampleEJBHome) ctx.lookup("SampleJNDI");
remote = home.create();
} catch (Exception e) {
System.out.println("Exception:" + e.getLocalizedMessage());
}
String result = remote.add(aFirst,aSecond,);
System.out.print("Result:" + result);
} catch (Exception ex) {
System.out.println("Exception:" + ex.getLocalizedMessage());
}
}
}
Go To Run > choose your program(client program to call ejb method) >
Arguments : VM Environment
paste the following code
-Djava.naming.factory.initial=com.sap.engine.services.jndi.InitialContextFactoryImpl
-Djava.naming.provider.url=191.168.0.101:50004
replace the server IP address with your server IP address where your ejbs are running.
Under Class path settings for the program put the following jar files.
You can search for them from net weaver soruce folders
or copy from c:\usr\... (search under this folder)
connector.jar
activation.jar
ejb20.jar
ogging.jar
exception.jar
sapj2eeclient.jar
sapj2eenginedeploy.jar
and RUN >>>
this makes testing of your client programs easier, you can find the error trace on which line and saves lot of time.
Regards
Suresh KB
Hi,
all you need to start with J2EE you will find here:
http://www.jboss.com/docs/index
Best Regards,
Torsten
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you are interested in taking certification for Java, visit http://www.sun.com/training/certification/java/index.html
There are different levels of certification and these will help you in learning the java language effectively and quickly.
Regards,
Giri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
For having handson on EJB,J2EE You can download
eclipse 3.2 or BEA Workshop Studio from the following link
<a href="http://www.bea.com/callisto/eclipse.html">http://www.bea.com/callisto/eclipse.html</a>
You can also download IBM Websphere 6.1version.Its a trial version for 30 days.
<a href="http://www-128.ibm.com/developerworks/downloads/ws/was/?S_TACT=105AGX28&S_CMP=WCBDD">http://www-128.ibm.com/developerworks/downloads/ws/was/?S_TACT=105AGX28&S_CMP=WCBDD</a>
In these softwares you can create simple Enterprise j2ee,stand alone java,EJB,Struts etc applications.
You can find relevent documentation in the above sites.
You can also refer the following books
1.Headfirst servlets
2.headfirst EJB
For creating simple Web services application you can download "Java web Services developer pack" from the sun microsystem site.you will find all the relevent documents
in the site only.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.