473,672 Members | 2,597 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Applet as DSO in Browser example? MSIE only?

Hi,

Recently on the web I came across documentation discussing Data Source
Objects (DSO) in relation to browser and html functionality (in particular
the ability to declare a Java applet as a data source that can be used with
any or the HTML tags that take the src="" attribute). I find it interesting
and potentially *very* useful and would like to know more, so if anyone can
answer any of the following questions that would be great: -

1) Do you have an example of an Applet functioning as an applet to something
like a <Tablethat I can see?

2) Is this a MicrosoftIE-only feature? I can't find it in other html tag
reference sites. (I'm using w3schools as a sort of yardstick; is that less
than optimal?) What do other browsers do? Is Microsoft deprecating this
along with other Java stuff?

3) I've searched in c.l.j.p/c.l.javascript and the only references to DSOs
appear to be server based (or data sources other than Applet) I'm guessing
they're entirely different beasts; is that correct?

4) Anyone ever passed a BufferedImage over to Javascript for display on a
web page? (I know it'd be single threaded and all those little .GIFs and
..JPEGs are designed for parallel http webservers, but think of a blob in a
database that has an employee photo of geological survey or something. . .)

Thanks for any help!

Regards Richard Maher

PS. I am already passing result set <options>s back to a <selectlist quite
happily; it's the tighter integration between the html tags and my socket
that I'm striving for here.

One of the places I've been looking: -
http://msdn.microsoft.com/library/de...atasources.asp
Mar 10 '07 #1
2 2091
VK
On Mar 10, 4:24 am, "Richard Maher" <maher...@hotsp amnotmail.com>
wrote:
Recently on the web I came across documentation discussing Data Source
Objects (DSO) in relation to browser and html functionality
That was a long waiting ;-) - DSO / Data Binding is supported since IE
4.0
All relevant tags and attributes are part of HTML 4 DTD
(in particular
the ability to declare a Java applet as a data source that can be used with
any or the HTML tags that take the src="" attribute).
I don't agree with such concept description.
DSO is part of Microsoft Data Binding technology. First you define a
an object on your page connected with tabular data source on your
server (static or dynamic). It is made by using data binding ActiveX
object coming with IE installation. The reference to Java applet on
MSDN is a bit mysterious to me. I guess for IE 4/5 Microsoft allowed
to use their JVM for bridging to the needed ActiveX, so people could
use either <objector <appletdependin g on personal preferences. In
either case it is definitely in relation to the Microsoft own JVM
which is not provided any more. It has nothing to do with Sun plugin.

After DSO object properly initialized, you map (bind) particular data
columns in the source to relevant columns in HTML table template. This
way you don't need to build the table itself - it gets filled and
updated automatically on source data change. Later DSO Microsoft
proposed IXMLHTTPRequest object. Current AJAX is IXMLHTTPRequest
pulled out by rivals out of sense and context from Microsoft Data
Binding. They got the motor but they left everything else out. Instead
XHR got transformed into some "hidden browser" used for manual data
retrieval and manual page updates. Seems very silly and ineffective
but I guess developers didn't have any choice for cross-browser
solutions. Besides Gecko browsers with XBL support all other UAs stock
in the middle age of the data treatment and still cannot get onto
mainstream.
I find it interesting
and potentially *very* useful and would like to know more, so if anyone can
answer any of the following questions that would be great: -

1) Do you have an example of an Applet functioning as an applet to something
like a <Tablethat I can see?
For DSO / data binding hardly such sample can be provided - see above.
It is easy to imagine an applet or flash retrieving data from server
and then communication with the host document DOM to display such
data. But it really adds nothing to a regular ajaxoid made with
javascript.
2) Is this a MicrosoftIE-only feature?
As DSO / Data Binding / relevant HTML tags and attributes - yes, it is
Windows IE only feature.
I can't find it in other html tag
reference sites. (I'm using w3schools as a sort of yardstick; is that less
than optimal?)
Use the producer manuals instead:
http://msdn.microsoft.com/workshop/a...ta_binding.asp
3) I've searched in c.l.j.p/c.l.javascript and the only references to DSOs
appear to be server based (or data sources other than Applet) I'm guessing
they're entirely different beasts; is that correct?
Not sure if I understood the question properly. DSO is external to the
document. It is a bridge between a tabular data server-side and data
binding capable HTML "display" client-side. Because of the technology
remained IE-only you will not find many discussions of it on clj. You
will have much better results on microsoft.publi c.* forums
4) Anyone ever passed a BufferedImage over to Javascript for display on a
web page?
What is BufferedImage in context of "passed over to javascript"?
Javascript doesn't have byte-level access to images. All you can pass
to it is image URL.
Mar 10 '07 #2
Hi VK,

Thanks for the detailed reply!

"VK" <sc**********@y ahoo.comwrote in message
news:11******** *************@q 40g2000cwq.goog legroups.com...
That was a long waiting ;-) - DSO / Data Binding is supported since IE
Doin' my best to catch up.
(in particular
the ability to declare a Java applet as a data source that can be used
with
any or the HTML tags that take the src="" attribute).

I don't agree with such concept description.
That's exactly what my rose-coloured glasses (or beer-goggles) told me it
did :-)
In
either case it is definitely in relation to the Microsoft own JVM
which is not provided any more. It has nothing to do with Sun plugin.
2) Is this a MicrosoftIE-only feature?
>
As DSO / Data Binding / relevant HTML tags and attributes - yes, it is
Windows IE only feature.
OK, that's all very disappointing.
It is easy to imagine an applet or flash retrieving data from server
and then communication with the host document DOM to display such
data.
Certainly is.
But it really adds nothing to a regular ajaxoid made with
javascript.
You seem confident.

Cheers Richard Maher

"VK" <sc**********@y ahoo.comwrote in message
news:11******** *************@q 40g2000cwq.goog legroups.com...
On Mar 10, 4:24 am, "Richard Maher" <maher...@hotsp amnotmail.com>
wrote:
Recently on the web I came across documentation discussing Data Source
Objects (DSO) in relation to browser and html functionality

That was a long waiting ;-) - DSO / Data Binding is supported since IE
4.0
All relevant tags and attributes are part of HTML 4 DTD
(in particular
the ability to declare a Java applet as a data source that can be used
with
any or the HTML tags that take the src="" attribute).

I don't agree with such concept description.
DSO is part of Microsoft Data Binding technology. First you define a
an object on your page connected with tabular data source on your
server (static or dynamic). It is made by using data binding ActiveX
object coming with IE installation. The reference to Java applet on
MSDN is a bit mysterious to me. I guess for IE 4/5 Microsoft allowed
to use their JVM for bridging to the needed ActiveX, so people could
use either <objector <appletdependin g on personal preferences. In
either case it is definitely in relation to the Microsoft own JVM
which is not provided any more. It has nothing to do with Sun plugin.

After DSO object properly initialized, you map (bind) particular data
columns in the source to relevant columns in HTML table template. This
way you don't need to build the table itself - it gets filled and
updated automatically on source data change. Later DSO Microsoft
proposed IXMLHTTPRequest object. Current AJAX is IXMLHTTPRequest
pulled out by rivals out of sense and context from Microsoft Data
Binding. They got the motor but they left everything else out. Instead
XHR got transformed into some "hidden browser" used for manual data
retrieval and manual page updates. Seems very silly and ineffective
but I guess developers didn't have any choice for cross-browser
solutions. Besides Gecko browsers with XBL support all other UAs stock
in the middle age of the data treatment and still cannot get onto
mainstream.
I find it interesting
and potentially *very* useful and would like to know more, so if anyone
can
answer any of the following questions that would be great: -

1) Do you have an example of an Applet functioning as an applet to
something
like a <Tablethat I can see?

For DSO / data binding hardly such sample can be provided - see above.
It is easy to imagine an applet or flash retrieving data from server
and then communication with the host document DOM to display such
data. But it really adds nothing to a regular ajaxoid made with
javascript.
2) Is this a MicrosoftIE-only feature?

As DSO / Data Binding / relevant HTML tags and attributes - yes, it is
Windows IE only feature.
I can't find it in other html tag
reference sites. (I'm using w3schools as a sort of yardstick; is that
less
than optimal?)

Use the producer manuals instead:
http://msdn.microsoft.com/workshop/a...ta_binding.asp
3) I've searched in c.l.j.p/c.l.javascript and the only references to
DSOs
appear to be server based (or data sources other than Applet) I'm
guessing
they're entirely different beasts; is that correct?

Not sure if I understood the question properly. DSO is external to the
document. It is a bridge between a tabular data server-side and data
binding capable HTML "display" client-side. Because of the technology
remained IE-only you will not find many discussions of it on clj. You
will have much better results on microsoft.publi c.* forums
4) Anyone ever passed a BufferedImage over to Javascript for display on
a
web page?

What is BufferedImage in context of "passed over to javascript"?
Javascript doesn't have byte-level access to images. All you can pass
to it is image URL.



Mar 17 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
5924
by: Put 030516 in email subj to get thru | last post by:
I've always been bothered about having to statically declare the size of a Java applet window (container?) in the calling HTML. I've always wanted the moral equivalent of width=50% statement (of the window or frame). I can sort of get an example working in a Mozilla browser: > <!-- This works on Mozilla only (and maybe netscape) --> > <script language="Javascript"> > document.write( "<applet code=MyApplet.class width=" > +...
2
12786
by: Put 030516 in email subj to get thru | last post by:
I've always been bothered about having to statically declare the size of a Java applet window (container?) in the calling HTML. I've always wanted the moral equivalent of width=50% statement (of the window or frame). I'm trying to use Javascript to do so. I can sort of get an example working in a Mozilla browser: > <!-- This works on Mozilla only (and maybe netscape) --> > <script language="Javascript"> > document.write( "<applet...
6
2270
by: Alex Rast | last post by:
First of all, this is not a programming question. I'm a user, not programming in JavaScript. I'm not, however, a novice user or even a power user - I certainly know programming intimately as well as computer hardware, configuration, etc... down to the lowest level (e.g. BIOS, assembly language, etc). Anyway, I've obviously got something wrong with JavaScript configuration, files, etc. in Windows 2000, Service Pack 3, because on sites...
0
3110
by: Wolfgang Schwanke | last post by:
Dear usenet, I'm having the following small problem. I've been ask to add some Quicktime panoramas to a website. The author of the panoramas has made two versions of each: One in MOV format, which needs a Quicktime plugin, and one Java applet. He's also kindly supplied me with sample HTML code for each. The code looks like this (simplified):
8
3374
by: DKM | last post by:
Here are the source code files to a Java applet that utilizes LiveConnect to communicate with Javascript, and the HTML file. The thing works both in IE 6.0 and FireFox 1.4. but with some problems. IE crashes when one refreshes the page or leave the page. This happens only after calling the Java method more than once. It does not crash if the Java method is called just once and then the page is refreshed. FireFox does not crash at all...
14
2350
by: Gérard Talbot | last post by:
I personally disagree with the Viewable in Any browser campain. The site is frankly outdated, seems to be no longer maitained, has several recommendations that don't make a lot of sense anymore. In my mind, it is much more important to code according to standards (valid markup and CSS code) and good coding practices (tableless design, graceful degradation, etc.) than to code according to the lower common denominator among browsers. ...
1
2380
by: sheephead86 | last post by:
Hi, I'm pretty new to java, and I have a small problem involving drawing a rectangle on a java applet.Firstly this is not a plea for someone to help me with this peice of work, I just need pointing in the right direction. Ok the problem. I am creating a program that ask the user to input a height value, the program will then do a calculation and create a golden ratio width. The type of both the height and the width are double. This is...
2
2645
by: Richard Maher | last post by:
Hi, Can someone please tell me the strategy(ies) used by Java (the Security Manager or whatever) to determine if a given IP address conforms to the definition of the codebase from which an applet was retrieved? For example, if an Applet was loaded from mycluster.mydomain.com, and "mycluster" was a cluster alias that was using DNS load-balancing (or round-robin or a.n.other distribution technique) to distribute client connections among...
2
3450
by: ManidipSengupta | last post by:
Hi, a few (3) questions for the Java experts, and let me know if this is the right forum. It deals with 100% java code (reason for posting here) but manages a Web browser with Javascript. Thanks in advance for responding. I have made a stub of the codes for better understanding. Situation: I have a Java servlet (HelloWorldServlet) running on a Tomcat (5.5.26) server on a Linux machine (compiled in JDK1.4.2). It writes Javascript to construct...
0
8486
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8931
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8608
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8680
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7446
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6238
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5705
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
2063
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1816
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.