deviceatlas database(DA.jar) and ColdFusion

View: New views
2 Messages — Rating Filter:   Alert me  

deviceatlas database(DA.jar) and ColdFusion

by Piotr Artman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,
I am new in ColdFusion and I want to connect ColdFusion server with a database of mobile devices known as "Deviceatlas". When I was trying to import the Da.jar file (<cfimport> tag) I received the message: "Cannot import the tag library specified by http://localhost/test/lib/DA.jar".
The same message appeared when I tried to import the file DA.tld.

Someone help me find a solution?

Deviceatlas database is free for developers. You can find it here: http://deviceatlas.com/downloads

I will be grateful for any assistance.
Greetings from Poland

Piotr

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: http://www.houseoffusion.com/groups/Java/message.cfm/messageid:5332
Subscription: http://www.houseoffusion.com/groups/Java/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.40

RE: deviceatlas database(DA.jar) and ColdFusion

by Charlie Arehart-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Going back to this question from months ago, Piotr, are you still looking
for your answer? You refer to using CFIMPORT, but that's for using JSP
Custom Tags (at least with regard to Java integration in CF). I don't see
any mention on that site of this being an API driven by custom tags. Yet you
say you "tried to import the file DA.tld". So is there one? I found no
mention of it on the site (I'll admit I didn't download the API because it
required a login.)

If perhaps you just assumed that integration of Java with CF required using
CFIMPORT (or JSP custom tags), that's just a misunderstanding. There are
many ways to do Java integration, including just calling java object
methods. That may be the way for you to go in this case.  I'll point you to
a few resources to get started. First, the CF docs themselves have a chapter
on this. I'm not talking about the CFML Reference, though. It's in the
Developer's Guide:
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Java_1.htm
l (and while that's the CF8 docs, the info and features related to this
topic really haven't changed since CF6.)

I also wrote an article introducing the concepts of integrating CFML and
Java (and .NET, as a bonus) back in 2005:

Getting Started Integrating CFML with Java & .NET
http://coldfusion.sys-con.com/node/86127

That was actually part of a whole issue in the CFDJ that was said to be on
CF/Java integration, though it wasn't really too much
(http://coldfusion.sys-con.com/issue/595).

Finally, beyond that, if one really does want to get into using JSP custom
tags in CF, I wrote an article on it several years ago:

Using JSP Custom Tags in CFMX: What, Why, and How
http://cfdj.sys-con.com/read/41747.htm

Hope that helps.

/charlie


-----Original Message-----
From: Piotr Artman [mailto:peter.artman@...]
Sent: Sunday, June 15, 2008 11:54 AM
To: Java
Subject: deviceatlas database(DA.jar) and ColdFusion

Hello,
I am new in ColdFusion and I want to connect ColdFusion server with a
database of mobile devices known as "Deviceatlas". When I was trying to
import the Da.jar file (<cfimport> tag) I received the message: "Cannot
import the tag library specified by http://localhost/test/lib/DA.jar".
The same message appeared when I tried to import the file DA.tld.

Someone help me find a solution?

Deviceatlas database is free for developers. You can find it here:
http://deviceatlas.com/downloads

I will be grateful for any assistance.
Greetings from Poland

Piotr



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/java/message.cfm/messageid:5623
Subscription: http://www.houseoffusion.com/groups/java/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.40