472,950 Members | 2,620 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,950 software developers and data experts.

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 2046
VK
On Mar 10, 4:24 am, "Richard Maher" <maher...@hotspamnotmail.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 <appletdepending 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.public.* 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**********@yahoo.comwrote in message
news:11*********************@q40g2000cwq.googlegro ups.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**********@yahoo.comwrote in message
news:11*********************@q40g2000cwq.googlegro ups.com...
On Mar 10, 4:24 am, "Richard Maher" <maher...@hotspamnotmail.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 <appletdepending 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.public.* 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
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...
2
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...
6
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...
0
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,...
8
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...
14
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...
1
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...
2
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...
2
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...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...

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.