It is said EJB begins at where CORBA leaves off and we could find many similitude:JTS is like OTS,Java naming service is like Corba Naming service,Persistence service,serialization,etc.
Now the question is:
1.if I can conclude,EJB is based on CORBA.That is to say, EJB use CORBA to build the...
Hi every one.A question occurs in my mind and I don't know if it's reasonable.
eg:
public class A{
B b;
public A(){
b=new B();
}
}
public class B{
A a;
public B(){
}
public void method(){
a=new A();
}
}
thanks a lot to you both.
My real project is complex payroll calculation that could adaptable for all areas including Singapore,Hongkong,etc.So many database tables--about 100 tables involed.Because of complex logic,I msut sovle problem one by one and I've to write lots of classes and function...
I use jdbc to connect Oracle database,jdbc driver is "classes111.zip" which provided by Oracle8i.
I know if we open too much resultset and forget to close there could occurs such error,but in my program I do close after use RecordSet ,but I code like this because of the complex logic...
thank you both.
your replies are very helpful.but there is also one question--if the parameter of functions are different then--if reference to a function is more flexible?
I think java is the most excellect system I used.But I don't know if there is a reference to a function just like a pointer to a fucntion in C.If there is no,is there substitution.
As we all know,java has two parameter-passing methods while call a function:
1.to primitive type,it use value
2.to object, it use reference.
So here is the question:
when I use a method in a class provided by others,and this function need pass some objects as auguments.So there is possibility...
hope someone could give me advice:
there are two simaliar creation pattern,say "abstract factory"&"factory method".I think they all contain two kinds of classes:
"creating class" used to create
"created class" used to be created
both need to be inherited...
you could attach any type of files in e-mail.
Ps reference to RFC2045~RFC2049 protocol.
RFC822 describe the basic protocol of e-mail.But its limitation is:
1.only recognize 7-bits ascii character
2.could not transfer multipart data ,as:image,audio.
So the point is to realize the idea of...
JDBC have 3 objects:
Connection,Statement,ResultSet
Several qustions:
1)if Statement is closed,the ResultSet produced by the Statement will close automatically?
also if the Connection is closed,the related Statements and ResultSets will close automatically?
2)if several Statements share a...
Hi everyone.
One question do disturb me.
As everyone know,JDBC provide the method of a forwad cursor and could point to any absolute position of the recordset you want to go.But I believe oracle driver--"class111.zip" do not support this.So how to use a RecordSet repeatedly and dos...
I wrote a small tool,html parser.I spent serveral hours in coding ,so it must be clumsy.I hope for more advice.<br><br>the tool is programmed by java and could be used in NT(jdk1.2)<br> <br>the tool include:<br><br>in the directory:".\\check\\"<br><br>1.config file...
how to find the excellent Enterprise Java Bean documents ?<br>how to implement ejb in JBuilder?<br>how to deploy ejb in web server:JavaWebserver2.0 and Oracle Application Server 8.i?
If I can implement a thing:<br><br>1.the script could read/write the html source which the script is contained.<br><br>2.if the script could output itself on response an event
I was always in trouble situation,thatis, I must be very careful while writing html and I hope to find a tool that could check html syntax automatically and point out where the error may be occurs.<br><br>Now I want to write one simple programme to solve the problem.<br>idea:<br><br>1.use a file...
Hi everyone,thanks alot for your help!<br><br>Question:<br>How can I get a window handle from different pages?<br><br>eg:<br><br>in "b.html" how to catch a window created by "a.html" ;<br><br>just like :<br>we could find a special window by iterating method in WindowsNT <br>
I write two html files to realize the target:<br>1.function:<br>when I select the ADD_NEW item in the <select> ,a new window pop up and wait for the info input. then a new item added.<br>2.method:<br>I use two arrays to make relations between every window poped up and...
question:<br>if we hope to handle a window ,there are methods:<br>1.use a global variable ,defect:if I close the window manually and not by procedure , so the variable becomes garbage<br>2.use "self""parant""top" "opener" ,but its use is limited<br><br>I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.