I don't how to study java lanauage
I hava learnt java for two years ,but I don't see the java language ,I don't know to how to learn the java ,as you see,there are many frameworks ,such as struts,spring,hibernate and so on,please hope you to give some suggests,thank you in advance
After learning Core Java. You should learn J2EE. Once after learning web-tier technologies (servlets, jsp ...etc) . Its easy to learn struts, spring and hibernate.
J2EE tutorial : http://java.sun.com/j2ee/1.4/docs/tutorial/doc/
Similar Messages
-
SOS! How to study Java!
SOS! How to study Java!
Good place to start is with a good book!!!
Ive heard "thinking in java" is a very good book....
Also have heard its available online... -
How to study java networking?
Recently i want to study java networing, bug i don't know how to study it.
I have saw some examples about it, but i don't think it's helpful to me, can you give me some suggestion on it?
Thanks.[or my book|http://www.telekinesis.com.au/wipv3_6/FundamentalNetworkingInJava.A21]
Even available in Japanese ;-) translated by the redoubtable hiwa. -
i am very new to java,
i just to know should i keep going with java or not because i took a class by using a book by Tony Gaddis, titled Starting with java 5
the first 4 chapter seemed a little easy to me, but right after that the rest of the chapter 5-8,i was completely lost when it had arrays or static method. it tougher and tougher .
i don't know should I keep going from chapter 8 to the end of the book or not.i got some of the basic,
i can follow the chapter pretty well,but my main is i
don't know to how to do the assignments, i read 3
time and i don't know where to start usually.whats the purpose of the assignment?. post your assignment. secondly arrays, arraylist and strings are very important in java and specially the OO methdaology. if you dont understand try to buy a new book an easy one. i started from this website.
http://chortle.ccsu.edu/java5/cs151java.html -
How to connect java in mysql....
how to connect java in mysql.... help me guys
am newbie...http://www.mysql.com/products/connector/j/
download the JDBC driver and read the docs.
if you don't know JDBC, Google for "Sun JDBC tutorial" and study it.
don't ask for sample code. there's plenty out there.
% -
Hi,
I only have some basic java programming knowledge. I am working on a CORBA based project now. Our company bought a system which has a loads of object models for CORBA interfaces and associated technical documents. These documents don't make any sense to me because I have no CORBA experience before at all.
I browsed www.omg.org and download some CORBA specifications. Thousand pages to read.
I want to finish this project as soon as possible, anyone can give me some idea how to study CORBA quickly?
Anybody can describe the learning curve and give me some key words for searching and studying?http://www.google.com/search?hl=en&q=corba+tutorial&btnG=Google+Search
-
How to configure JAVA webdynpro in ECC 5.0??
Hello Friends,
I just installed ECC 5.0. Is java webdynpro already installed with ECC 5.0?? If not how to install it?? if yes how to configure it?? And how to run java webdynpro?? help me please
ThanksNo, not required.
You will need to maintain JCo destinations when you deal with your backend R/3 system from WD but as of now you don't need to configure anything.
Just install and start creating your project in WD Java.
Happy Learning
Murtuza -
How to study E-business suite?
Hi all,
I never studied Oracle any products. I want to study Oracle 11i e-business suite, but I don't know how to study it. Can you give me some suggestions and give me some documents for study? Thanks!Hi,
Please see the following threads.
How to go over E business suite?
Re: How to go over E business suite?
Books/Documents that I can Refer to pass Certification
Re: Books/Documents that I can Refer to pass Certification.
Regards,
Hussein -
How to use java programe in oracle form
Hello Expert,
My Config is : -
Forms [32 Bit] Version 11.1.1.3.0 (Production)
Jdeveloper - 10.1.3
I want to use the java programe in form builder. I create the one java class in Jdeveloper -
package demo;
import java.net.InetAddress;
import java.net.NetworkInterface;
import java.net.SocketException;
import java.net.UnknownHostException;
public class get_info{
public static void main(String[] args){
ch_add();
public static void ch_add()
InetAddress ip;
try {
ip = InetAddress.getLocalHost();
/*System.out.println("Current IP address : " + ip.getHostAddress()); */
NetworkInterface network = NetworkInterface.getByInetAddress(ip);
byte[] mac = network.getHardwareAddress();
/*System.out.print("Current MAC address : "); */
StringBuilder sb = new StringBuilder();
for (int i = 0; i < mac.length; i++)
sb.append(String.format("%02X%s", mac[i], (i < mac.length - 1) ? "-" : ""));
System.out.println(sb.toString());
} catch (UnknownHostException e) {
e.printStackTrace();
} catch (SocketException e){
e.printStackTrace();
and this into Formweb.cfg and default.env and also add into Form_class_path. After that i import this java into forms.
Code genertated -
PACKAGE BODY get_info IS
-- DO NOT EDIT THIS FILE - it is machine generated!
args JNI.ARGLIST;
-- Constructor for signature ()V
FUNCTION new RETURN ORA_JAVA.JOBJECT IS
BEGIN
args := NULL;
RETURN (JNI.NEW_OBJECT('demo/get_info', '()V', args));
END;
-- Method: main ([Ljava/lang/String;)V
PROCEDURE main(
a0 ORA_JAVA.JARRAY) IS
BEGIN
args := JNI.CREATE_ARG_LIST(1);
JNI.ADD_OBJECT_ARG(args, a0, '[Ljava/lang/String;');
JNI.CALL_VOID_METHOD(TRUE, NULL, 'demo/get_info', 'main', '([Ljava/lang/String;)V', args);
END;
-- Method: ch_add ()V
PROCEDURE ch_add IS
BEGIN
args := NULL;
JNI.CALL_VOID_METHOD(TRUE, NULL, 'demo/get_info', 'ch_add', '()V', args);
END;
-- Method: wait (J)V
PROCEDURE wait(
obj ORA_JAVA.JOBJECT,
a0 NUMBER) IS
BEGIN
args := JNI.CREATE_ARG_LIST(1);
JNI.ADD_LONG_ARG(args, a0);
JNI.CALL_VOID_METHOD(FALSE, obj, 'demo/get_info', 'wait', '(J)V', args);
END;
-- Method: wait ()V
PROCEDURE wait(
obj ORA_JAVA.JOBJECT) IS
BEGIN
args := NULL;
JNI.CALL_VOID_METHOD(FALSE, obj, 'demo/get_info', 'wait', '()V', args);
END;
-- Method: wait (JI)V
PROCEDURE wait(
obj ORA_JAVA.JOBJECT,
a0 NUMBER,
a1 NUMBER) IS
BEGIN
args := JNI.CREATE_ARG_LIST(2);
JNI.ADD_LONG_ARG(args, a0);
JNI.ADD_INT_ARG(args, a1);
JNI.CALL_VOID_METHOD(FALSE, obj, 'demo/get_info', 'wait', '(JI)V', args);
END;
-- Method: equals (Ljava/lang/Object;)Z
FUNCTION equals(
obj ORA_JAVA.JOBJECT,
a0 ORA_JAVA.JOBJECT) RETURN BOOLEAN IS
BEGIN
args := JNI.CREATE_ARG_LIST(1);
JNI.ADD_OBJECT_ARG(args, a0, 'java/lang/Object');
RETURN JNI.CALL_BOOLEAN_METHOD(FALSE, obj, 'demo/get_info', 'equals', '(Ljava/lang/Object;)Z', args);
END;
-- Method: toString ()Ljava/lang/String;
FUNCTION toString(
obj ORA_JAVA.JOBJECT) RETURN VARCHAR2 IS
BEGIN
args := NULL;
RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'demo/get_info', 'toString', '()Ljava/lang/String;', args);
END;
-- Method: hashCode ()I
FUNCTION hashCode(
obj ORA_JAVA.JOBJECT) RETURN NUMBER IS
BEGIN
args := NULL;
RETURN JNI.CALL_INT_METHOD(FALSE, obj, 'demo/get_info', 'hashCode', '()I', args);
END;
-- Method: getClass ()Ljava/lang/Class;
FUNCTION getClass(
obj ORA_JAVA.JOBJECT) RETURN ORA_JAVA.JOBJECT IS
BEGIN
args := NULL;
RETURN JNI.CALL_OBJECT_METHOD(FALSE, obj, 'demo/get_info', 'getClass', '()Ljava/lang/Class;', args);
END;
-- Method: notify ()V
PROCEDURE notify(
obj ORA_JAVA.JOBJECT) IS
BEGIN
args := NULL;
JNI.CALL_VOID_METHOD(FALSE, obj, 'demo/get_info', 'notify', '()V', args);
END;
-- Method: notifyAll ()V
PROCEDURE notifyAll(
obj ORA_JAVA.JOBJECT) IS
BEGIN
args := NULL;
JNI.CALL_VOID_METHOD(FALSE, obj, 'demo/get_info', 'notifyAll', '()V', args);
END;
BEGIN
NULL;
END;
Now i want to call the o/p of Java programe in oracle text item. Please help me. It's very urgent. I am not good in Java.Sir i use java importer.
PACKAGE BODY get_info IS
-- DO NOT EDIT THIS FILE - it is machine generated!
args JNI.ARGLIST;
-- Constructor for signature ()V
FUNCTION new RETURN ORA_JAVA.JOBJECT IS
BEGIN
args := NULL;
RETURN (JNI.NEW_OBJECT('demo/get_info', '()V', args));
END;
-- Method: main ([Ljava/lang/String;)V
PROCEDURE main(
a0 ORA_JAVA.JARRAY) IS
BEGIN
args := JNI.CREATE_ARG_LIST(1);
JNI.ADD_OBJECT_ARG(args, a0, '[Ljava/lang/String;');
JNI.CALL_VOID_METHOD(TRUE, NULL, 'demo/get_info', 'main', '([Ljava/lang/String;)V', args);
END;
-- Method: ch_add ()V
PROCEDURE ch_add IS
BEGIN
args := NULL;
JNI.CALL_VOID_METHOD(TRUE, NULL, 'demo/get_info', 'ch_add', '()V', args);
END;
-- Method: wait (J)V
PROCEDURE wait(
obj ORA_JAVA.JOBJECT,
a0 NUMBER) IS
BEGIN
args := JNI.CREATE_ARG_LIST(1);
JNI.ADD_LONG_ARG(args, a0);
JNI.CALL_VOID_METHOD(FALSE, obj, 'demo/get_info', 'wait', '(J)V', args);
END;
-- Method: wait ()V
PROCEDURE wait(
obj ORA_JAVA.JOBJECT) IS
BEGIN
args := NULL;
JNI.CALL_VOID_METHOD(FALSE, obj, 'demo/get_info', 'wait', '()V', args);
END;
-- Method: wait (JI)V
PROCEDURE wait(
obj ORA_JAVA.JOBJECT,
a0 NUMBER,
a1 NUMBER) IS
BEGIN
args := JNI.CREATE_ARG_LIST(2);
JNI.ADD_LONG_ARG(args, a0);
JNI.ADD_INT_ARG(args, a1);
JNI.CALL_VOID_METHOD(FALSE, obj, 'demo/get_info', 'wait', '(JI)V', args);
END;
-- Method: equals (Ljava/lang/Object;)Z
FUNCTION equals(
obj ORA_JAVA.JOBJECT,
a0 ORA_JAVA.JOBJECT) RETURN BOOLEAN IS
BEGIN
args := JNI.CREATE_ARG_LIST(1);
JNI.ADD_OBJECT_ARG(args, a0, 'java/lang/Object');
RETURN JNI.CALL_BOOLEAN_METHOD(FALSE, obj, 'demo/get_info', 'equals', '(Ljava/lang/Object;)Z', args);
END;
-- Method: toString ()Ljava/lang/String;
FUNCTION toString(
obj ORA_JAVA.JOBJECT) RETURN VARCHAR2 IS
BEGIN
args := NULL;
RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'demo/get_info', 'toString', '()Ljava/lang/String;', args);
END;
-- Method: hashCode ()I
FUNCTION hashCode(
obj ORA_JAVA.JOBJECT) RETURN NUMBER IS
BEGIN
args := NULL;
RETURN JNI.CALL_INT_METHOD(FALSE, obj, 'demo/get_info', 'hashCode', '()I', args);
END;
-- Method: getClass ()Ljava/lang/Class;
FUNCTION getClass(
obj ORA_JAVA.JOBJECT) RETURN ORA_JAVA.JOBJECT IS
BEGIN
args := NULL;
RETURN JNI.CALL_OBJECT_METHOD(FALSE, obj, 'demo/get_info', 'getClass', '()Ljava/lang/Class;', args);
END;
-- Method: notify ()V
PROCEDURE notify(
obj ORA_JAVA.JOBJECT) IS
BEGIN
args := NULL;
JNI.CALL_VOID_METHOD(FALSE, obj, 'demo/get_info', 'notify', '()V', args);
END;
-- Method: notifyAll ()V
PROCEDURE notifyAll(
obj ORA_JAVA.JOBJECT) IS
BEGIN
args := NULL;
JNI.CALL_VOID_METHOD(FALSE, obj, 'demo/get_info', 'notifyAll', '()V', args);
END;
BEGIN
NULL;
END;
I read both document which is given by you.
Basicaly i don't know how to call java program in form builder.
I wrote this code on When-button-pressed
DECLARE
jo ora_java.jobject;
rv varchar2(1500);
ex ora_java.jobject;
BEGIN
jo := get_info.new;
rv:=get_info.ch_add(jo );
EXCEPTION
WHEN ORA_JAVA.JAVA_ERROR then
message (' Unable to call out to Java, ' ||ORA_JAVA.LAST_ERROR );
message('');
WHEN ORA_JAVA.EXCEPTION_THROWN then
ex := ORA_JAVA.LAST_EXCEPTION;
message(' Unable to call out to Java ' ||Exception_.toString (ex ) );
message(' Unable to call out to Java ' ||Exception_.toString (ex ) );
END;
No error comes and no output comes. I want the client MAC ID. please guide me where i need to change the code. -
JNI - how to use java access function in TypeLibrary( .tlb file) HELP ME PL
Hey All
I got one project which can be done by calling up functions in xxxx.tlb
(window type library) file, that is no problem.
How to use java to access those functions???
I know there are some classes which can be used to access function in
DLL file e.g. JAWIN.
Is the .tlb file related to one DLL file??? if so, how to locate the
DLL file through .tlb file???
Thanks a lot.
SteveUse JNI to create a link between Java class and a DLL, then you can load that DLL (or TLB) from that class.
Read the JNI Tutorials. -
How to include JAVA work in a maintenance cycle
Good Day;
Would anyone know where I can find documentation on how to include JAVA changes in a Solution Manager / ChaRM maintenance cycle?
I understand that a transport can be created for JAVA work.
Thanks All
Regards
Don NewtonYou will first need CTS+ configured to create the java transport. Check this out for portal..
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90d3b550-b6fb-2910-0fa5-ece5d61fb9c3
Once that is configured and assuming you have Charm configured, I believe it's as easy as adding the system to your project. -
How to Include JAVA script code in SAP BI7 web Reporting?
How to Include JAVA script code in SAP BI7 web Reporting?
In nw2004s there is a new web item called "Script" web item which lets you add javascript code. When you add javascript code in this web item, you don't need the opening and closing <script> tags...
Hope it Helps
Chetan
@CP.. -
How to run java signed applet in vista with changing IE security options
how to run java signed applet in vista with changing IE security options. If i change the IE security settings to low. it works.
without changing the security setting, how to run.j_nanaji9 wrote:
how to run java signed applet in vista with changing IE security options. If i change the IE security settings to low. it works.
without changing the security setting, how to run.Can't be done without changing the security setting. -
How to catch java.io.FileNotFoundException when a user enters a bogus jsp page. For example. I have a page called login.jsp. If a user enters log.jsp, the entire path is show and i get java.io.FileNotFoundException. This should not happen. This only happened since I upgraded to 9iAS. I tried send_error=true in zone.properties like i did when i was just using oracle http that came with database and it doesnt work. How are all you guys catching this?? I cant find any documentation. They say send_error=true will work, but IT DOESNT.
Thanks for your timeHi Adam,
I am also facing the same problem of the java.io.FIleNotFOundException in the browser display when i am giving a wrong file path in the Url. you have mentioned that you have solved it when you were using Orcale 8i Http Server, can you please guide me for that( as we are also using Oracle 8i) I checked with putting send_error=true in zone.properties file but that is not working. What exctly you have done to get rid of that error message. I am using Windows Nt platform.
Thanks and Regards.
Arnab -
Doing a fresh install of Mac OS X 10.4.11, I realized that the Java updates -- seven of them, which must be tediously installed one by one in order -- are more than all the other 10.4 updates combined: 432MB (Java) vs. 386MB (10.4.11 Combo, QuickTime, the final Security Update, Safari). And I started to wonder: do I need it? I've never understood quite what this Java stuff does. Can anyone elucidate? What will I be missing if I don't install all these Java updates?
How do I check for what Java is installed in my computer. I have an Imac running 10.5 OS. I was on a website trying to play the game, but was told that I needed an updated version.
That's my next question: How do I install the newest version.
Thank you
Maybe you are looking for
-
My iMac was stolen - but I think there's a backup on my Time Capsule (which wasn't stolen). I have a new iMac which I've been using normally; I didn't use the 'Restore from...' option at the start because I thought the Time Capsule had nothing on it.
-
TS3274 black coffee leaked onto my ipad, now it won't turn on
My iPad had black coffee leak into my bag, then onto the item itself. It first turned on, now will not turn back on at all, despite being charged. Is there anything I can do?
-
Associating GOS Attachments to a KEY
Hi, I am currently using GOS to attach an object in a current transaction. The GOS is working fine when attaching objects. My problem is... How can I relate the attached object to a KEY. For example, PO as a key, how can I associate those attachme
-
Disable / Remove Control Key From Pop-Up Virtual Keyboard
Hello. I am setting up a kiosk system using Microsoft Surface tablets. I wish to use the win8 virtual keyboard along with chrome in kiosk mode to run a web app. I am trying to edit the Keyboard Mapping in registry, which works with the physical keybo
-
X-Fi recording trouble, Re: "What U Hear" and MIDI
Hey there-- I just got a new computer, an HP with Windows 7. I had it come with an X-Fi, because that was what I had in my previous computer (also an HP, but that with Vista). I am 90% sure it's an X-Fi X-Tremegamer, but I cannot recall how to check