Chris Chen

Greenhorn
+ Follow
since Jul 20, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Chris Chen

Thank you all.
Well, I have distributed the entire JRE. Is it still violation of that licence?
20 years ago
Many thanks to all.
Jeroen Wenting�s reply remind me to read the license of jre.
That's what I want to see:


License to Distribute Software. Subject to the terms
and conditions of this Agreement, including, but not limited
to Section 4 (Java Technology Restrictions) of these
Supplemental Terms, Sun grants you a non-exclusive,
non-transferable, limited license to reproduce and
distribute the Software, provided that (i) you distribute
the Software complete and unmodified (unless otherwise
specified in the applicable README file) and only bundled as
part of, and for the sole purpose of running, your Programs,
(ii) the Programs add significant and primary functionality
to the Software, (iii) you do not distribute additional
software intended to replace any component(s) of the
Software (unless otherwise specified in the applicable
README file), (iv) you do not remove or alter any
proprietary legends or notices contained in the Software,
(v) you only distribute the Software subject to a license
agreement that protects Sun's interests consistent with the
terms contained in this Agreement, and (vi) you agree to
defend and indemnify Sun and its licensors from and against
any damages, costs, liabilities, settlement amounts and/or
expenses (including attorneys' fees) incurred in connection
with any claim, lawsuit or action by any third party that
arises or results from the use or distribution of any and
all Programs and/or Software. (vi) include the following
statement as part of product documentation (whether hard
copy or electronic), as a part of a copyright page or
proprietary rights notice page, in an "About" box or in any
other form reasonably designed to make the statement visible
to users of the Software: "This product includes code
licensed from RSA Security, Inc.", and (vii) include the
statement, "Some portions licensed from IBM are available at
http://oss.software.ibm.com/icu4j/".


[ February 20, 2004: Message edited by: Chris Chen ]
20 years ago
Thanks very much. //bow
Things looks fine now. I really do not need the full jdk, I have supposed that the tomcat server should have jdk installed. Having try it, I know I just need the jre, adding some .jar files.
Now, here's the other question:
Is it prohibited to ship the jre?
20 years ago
I have finished an application under tomcat, and I just want it published with j2sdk in a single package.
But, you know, the j2sdk is rather too big to ship. I suppose the j2sdk maybe can be simpled just carrying some .dll files and some .jar packages plus some configure files etc. I say, I'm not just using jre, 'cause I have to have some extra thing included.
Did anyone here have some methods/experiments to reduce it?
Thanks, //bow.
[ February 19, 2004: Message edited by: Chris Chen ]
20 years ago
I have finished an application under tomcat, and I just want it published with j2sdk in a single package.
But, you know, the j2sdk is rather too big to ship. I suppose the j2sdk maybe can be simpled just carrying some .dll files and some .jar packages plus some configure files etc. I say, I'm not just using jre, 'cause I have to have some extra thing.
Did anyone here have some methods/experiments to reduce it?
Thanks, //bow.
[ February 19, 2004: Message edited by: Chris Chen ]
20 years ago
Now I use Oracle 9.2.0.3 jdbc to deal with oracle 817.Now I use createTemporary method to create C/BLOB.
I creat C/BLOB and insert into Oracle8,OK.
But when I select CLOB ,Some exception was threw.
My method is:

These method throws a "Bigger type length than Maximum" exception.
If I use oracle817 driver ,The method is ok. But that driver doesn't have temporary method.I want to use this method to insert C/Blob data to database.
How to use oracle9i driver to select oracle 817 Clob field?
Thanks. //bow
[ February 16, 2004: Message edited by: Chris Chen ]
20 years ago
Thanks.

But again, those programs will not be portable. We really need a standard way to access the SIM cards.


//Agree
Hope MIDP 2.0 can bring this feature to us.
21 years ago
Thank you very much.
I find this info from http://www.csdn.net/,but someone tested and says it doesn't work. Can anyone have a check for me? Thank you.
from csdn.net:
Each mobile phone has a special IMEI number,dial "*#06#" can get it.
With J2ME you can use following codepage to check the application is run on a simulator or a phone:

And I got following infomation from jguru.com:
by Itoyjaved C@jguru:
You can access IMEI programtically using Siemens SL45i through the following property :
System.getProperty("com.siemens.IMEI");
Though this is not a standard feature according to J2ME specs.
This solution is just for Siemens SL45i.As such Midp doesn't say anything about IMEI number and way to access it. So it is possible that your code to access IMEI will not work when ported to a different phone from a different Manufacturer.
[ October 07, 2002: Message edited by: Chris Chen ]
21 years ago
Someone asked me this question, but I don't know how to, and I even don't know if j2me can do this. If you have any documents about this or any examples carring this out, please help me.
Thanks for reply.//bow
21 years ago
use this:
getAppletContext().showDocument(URL url,String target);
The target argument is interpreted as follows:
"_self"
Show in the window and frame that contain the applet.
"_parent"
Show in the applet's parent frame. If the applet's frame has no parent frame, acts the same as "_self".
"_top"
Show in the top-level frame of the applet's window. If the applet's frame is the top-level frame, acts the same as "_self".
"_blank"
Show in a new, unnamed top-level window.
name
Show in the frame or window named name. If a target named name does not already exist, a new top-level window with the specified name is created, and the document is shown there.
21 years ago
I have seen the book companion page, it's rather helpful. But, is there anything about taglib?