User Tools

Site Tools


Sidebar

Top
Seminar
Courses
Textbooks
Documents
Downloads (-2016)
Downloads (2016-)
Weblog
RSS aggregates
Discussions
Archives


EMBL BioImage Data Analysis

EuBIAS

NEUBIAS

—- Contact
CMCI Alumni
ALMF
EMBL Heidelberg
EMBL Intranet


Popularity Ranking


Timeline of @cmci_

cmci_ avatar

RT @empleo_mid: Puesto: 1 PhD student position available for "Image analysis of cardiac development in the mouse" - CNIC https://t.co/0AfJ8
About 14 hours, 35 mins ago by: Kota Miura (@cmci_)

cmci_ avatar

RT @CanonMedicalEDI: Five #vacancies currently open: Image Analysis Scientist, Software Engineer (various) & IT Administrator. Rewarding #H…
About 1 day, 15 hours ago by: Kota Miura (@cmci_)

cmci_ avatar

@haesleinhuepf @ReynaudEmmanuel @BioImagingUK @BBSRC @NEUBIAS_COST ... and fun!
About 1 day, 16 hours ago by: Kota Miura (@cmci_)

cmci_ avatar

RT @thewtex: @cmci_ @ProjectJupyter @UCBIDS @stefanvdwalt @cziscience @thefreemanlab @ctrueden @FijiSc @cmci_ sorry about the quality. Here…
About 1 day, 16 hours ago by: Kota Miura (@cmci_)

cmci_ avatar

@thewtex @ProjectJupyter @UCBIDS @stefanvdwalt @cziscience @thefreemanlab @ctrueden @FijiSc thanks!
About 1 day, 16 hours ago by: Kota Miura (@cmci_)

cmci_ avatar

@thewtex @ProjectJupyter @UCBIDS @stefanvdwalt @cziscience @thefreemanlab @ctrueden @FijiSc great! do you have an y… https://t.co/Xnyd9VhAip
About 1 day, 16 hours ago by: Kota Miura (@cmci_)
blogtng:blogtop
Algorithm FRAP Fiji ImageJ ImageJ Plugin ImageJ Plugin 3Dviewer Imaris Java Javascript Python R bias blog dokuwiki fiji google imagej java libraries matlab meetings neubias news papers python references software webadmin




CMCI weblog

Java classes NOT extendable by Javascript

It's really a trivial issue but I feel so disappointed with this so I note. Java classes are not extendable by Javascript since java6.

Details. I read some descriptions that java classes could be extended by Javascript (actually, it was the Rhino Javascript site). Reading this, I became excited since that gives me a lot of ease in adding some functionalities to existing image analysis modules. In addition, many things that Java would not allow easily could be done using function.apply() and function.call(). But after trying around several hours, nothing worked such as

 var extendedPlugin = new JavaAdoptor(pluginClass, {funciton1, function2, function3})
 

but then all the trials never worked out. Then I found in the following site:

Rhino standalone download supports extending a java class through JavaAdapter. But, the bundled JavaScript engine in JDK 6 does not support this. Supporting this requires .class file generation – which has been removed in JDK 6 (for security and footprint reasons). See also: JDK 6 release notes - scripting section.

http://asafmjavacorner.blogspot.com/2008/11/extending-java-class-in-javascript.html

sigh.

entry generator

Weblog Archive

blogtng/blogtop.txt · Last modified: 2016/05/24 05:46 (external edit)