Re: Beans

1998-11-08 Thread Chris Sommers

George,
A worthwhile book to consider  is:

"Developing Java Beans", Robert Englander, O'Reily

It goes into much more depth than the rather superficial and
pat "Teach Yourself Beans in 21 Days" book by Sams books.

- chris

George Karabotsos wrote:
> 
> Hi,
> 
> could anybody give me some starting points of how I should find out more
> about the bean coding standard.
> 
> Regards,
> 
> George.



Java Virtual Machine source code

1998-11-08 Thread FADY MOUSSA

Hi,

This is Fady Youssef, a student in the American University in Cairo... 
We are doing a project to extend the Java language to support real time
systems.  We need to have access to a java virtual machine source code to
extend it according to our own real-time specification.

It seems that we will use real-time linux as our platform, so we are
looking for a JVM source code for linux... The only one I found was Kaffe 
but some groups were complaining that it lacks adequate documentation.. 
Do you have your own implementation of JVM? do yo offer the source 
code for non-profit usage?

Thank you for your concern
--Fady 



Anyone tried JNI Interface via dlopen/dlsym methods? I SEGV with it.

1998-11-08 Thread Kenneth & Susan


Hi all,

I'm having trouble loading the java libraries and accessing the
JNI Interfaces using dlopen/dlsym/dlclose.
This works fine on Solaris, but for some reason it fails on Linux.
First I use dlopen to load libjava.so, then
I use dlsym to get the addresses for the JNI Interfaces
(JNI_GetDefaultJavaVMInitArgs,  JNI_CreateJavaVM,
JNI_GetCreatedJavaVMs) and call each as appropriate, but right after I
load the library, I start getting
"Tried to free bogus memory X, ignored" and after server hundred of
these messages, I segv with s"tackbase=(nil),
stackpointer=(nil) Full thread
dump: NULL (TID:0xAddress,sys_thread_t:0xAddress, state:R) prio=5" .
Any ideas?  I'm not actually on the mailing list, so if you could reply
directly to me as well as the list, I'd appreciate
it.  I downloaded the 1.1.7v1a native threads version of the JRE and it
fails same way.

Thanks!

kenbo

--
Kenneth & Susan

[EMAIL PROTECTED](hm)  [EMAIL PROTECTED](wk)
http://www.mediaone.net/~kenbo
http://paladin.ne.mediaone.net/~kenbo

Firebirds rule, 'stangs serve!





Sun's Commitment to Port JDK 1.2 to Linux

1998-11-08 Thread Tony Pujals

I was excited to hear about Sun's commitment to porting JDK 1.2 to Linux
(see http://www.javasoft.com/pr/1998/11/pr981102-01.html) and as new
subscriber to this list, I'd be interested in reading any thread
discussions that have already taken place on this topic. I'm especiallly
curious about when this is likely to happen, and how this changes anything
for the Blackdown Java-Linux porting project, if it does at all.

If this is an old thread, can anybody tell me how to request an archive
from this list server? If not, anybody care to comment now?

Thanks,

Tony

--
Tony Pujals

Mail:   ObjectMedia, Inc.
1400 Coleman Avenue, Ste. A21
Santa Clara, CA 95050

Tel:(408) 235-8700 x101
Fax:(408) 235-8774
Email:  [EMAIL PROTECTED]
Web:http://www.objectmedia.com

Unite for Java - Join the Java Lobby Now!
http://www.javalobby.org

"It don't mean a thing if it ain't got that that Swing"





Some weird security problems in netscape

1998-11-08 Thread Dimitris Vyzovitis


Hi !
I am having some weird security problems with netscape 4.5
I have an applet that tries to fetch some data over the net. The data
are located in the same host as the applet and under its codeBase.
It is my conception, that the applet should download the data normally.
But this is what I get:
netscape.security.AppletSecurityException: security.class from local
disk trying to access url: http://egnatia.ee.auth.gr/~dviz/dip/images/lena256.raw
  at netscape.security.AppletSecurity.checkURLConnect(AppletSecurity.java:944)
  at java.lang.SecurityManager.checkURLConnect(SecurityManager.java:1239)
  at netscape.net.URLConnection.connect(URLConnection.java:79)
  at netscape.net.URLConnection.getInputStream(URLConnection.java:198)
  at java.net.URL.openStream(URL.java:606)
  at dip.applets.DIPApplet._fetchImage(DIPApplet.java:131)
  at dip.applets.DIPApplet._loadImages(DIPApplet.java:121)
  at dip.applets.DIPApplet.init(DIPApplet.java:63)
* at netscape.applet.DerivedAppletFrame$InitAppletEvent.dispatch(DerivedAppletFrame.java:553)
  at java.awt.EventDispatchThread$EventPump.dispatchEvents(EventDispatchThread.java:81)
  at java.awt.EventDispatchThread.run(EventDispatchThread.java:135)
  at netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(DerivedAppletFrame.java:911)
Has anybody got a clue about what this means and how I could work around
it?
 
 
-- 
Dimitrios Vyzovitis  -- Information Processing Laboratory
[EMAIL PROTECTED] -- Aristotle University of Thessaloniki
[EMAIL PROTECTED] -- Dept. of Electrical and Computer Engineering
    http://egnatia.ee.auth.gr/~dviz