Try java.lang.BigInteger. This class has two constructors for generating random numbers.
Hope this helps, Timmi. > -----Ursprüngliche Nachricht----- > Von: A mailing list for discussion about Sun Microsystem's > Java Servlet API Technology. > [mailto:[EMAIL PROTECTED]] Im Auftrag von Arunkumar_N > Gesendet: Freitag, 20. September 2002 14:41 > An: [EMAIL PROTECTED] > Betreff: Generation of 30 digit random number > > > Hello, > In one of my application,I need to generate 30 digit > unique number randomly. Is there any Java component which I > can use ready made. > > Regards > Arun > > > ************************************************************** > ************ > This email (including any attachments) is intended for the > sole use of the intended recipient/s and may contain material > that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any > review or reliance by others or copying or distribution or > forwarding of any or all of the contents in this message is > STRICTLY PROHIBITED. If you are not the intended recipient, > please contact the sender by email and delete all copies; > your cooperation in this regard is appreciated. > ************************************************************** > ************ > > ______________________________________________________________ > _____________ > To unsubscribe, send email to [EMAIL PROTECTED] and > include in the body of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: > http://java.sun.com/products/servlet/external-> resources.html > > LISTSERV Help: > http://www.lsoft.com/manuals/user/user.html > > ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html