Third party API within DC project
Hi,
We are using a JSF web project for online account management for CRM.
We need to use a payment gateway API for which I have created a new external library DC project and a corresponding EAR.
I am able to build the project successfully.
It also recognizes the API classes however it fails at one particular call where the API internally calls a class from an embedding jar/package XMlLabel ?
If I comment out that call it does not result in any exceptions.
This API works just fine in a Java application.
I came across this forum and it looks like a similar issue. But I am unable to figure out how to fix this in a DC project.
Please let me know if anyone has any idea.
Thanks,
Veena.
I was referring to this forum
Unable to call third party API within Spring- Spring Forum
Similar Messages
-
Deploying a third party API in a J2EE application.
Hi there
I have a small J2EE applicaion made up of EJBs, servlets and JSPs
packaged and deployed as an EAR file in WebLogic 6.1.
I'd like to make use of a third-party API (that is packaged as a JAR
file) from the servlet and EJB components within the application, but
am a little confused as to where to place the JAR file.
I've tried placing it in the WEB-INF/lib directory of the WAR file,
the servlets found the library successfully but the EJB components
threw ClassNotFoundExceptions.
I've tried placing it in the EAR file at the same level as the WAR and
EJB JAR file, ie:
App.EAR
/application.xml
/EJB.JAR
/WEB.WAR
/LIB.JAR
but then the servlets were unable to find it.
Finally, I tried placing one copy in the WEB-INF\lib and one copy as
described above in the EAR file, but still - the EJBs were unable to
find the library.
Unfortunately, the API needs to be configured on a per-application
basis, so placing a reference to the JAR file in the CLASSPATH when
starting WebLogic is not an option.
Any one encountered or solved this kind of problem before ?
Kind regards
EeaHi Eea,
There are many articles in the Internet talking about
packaging of j2ee compenents, for example:
http://www.onjava.com/pub/a/onjava/2001/06/26/ejb.html
And, you may try to put your 3rd party API into weblogic
classpath in your startserver command file...
Regards,
Slava Imeshev
"Eea" <[email protected]> wrote in message
news:[email protected]..
Hi there
I have a small J2EE applicaion made up of EJBs, servlets and JSPs
packaged and deployed as an EAR file in WebLogic 6.1.
I'd like to make use of a third-party API (that is packaged as a JAR
file) from the servlet and EJB components within the application, but
am a little confused as to where to place the JAR file.
I've tried placing it in the WEB-INF/lib directory of the WAR file,
the servlets found the library successfully but the EJB components
threw ClassNotFoundExceptions.
I've tried placing it in the EAR file at the same level as the WAR and
EJB JAR file, ie:
App.EAR
/application.xml
/EJB.JAR
/WEB.WAR
/LIB.JAR
but then the servlets were unable to find it.
Finally, I tried placing one copy in the WEB-INF\lib and one copy as
described above in the EAR file, but still - the EJBs were unable to
find the library.
Unfortunately, the API needs to be configured on a per-application
basis, so placing a reference to the JAR file in the CLASSPATH when
starting WebLogic is not an option.
Any one encountered or solved this kind of problem before ?
Kind regards
Eea -
How to use third party APIs with Sun J2ME Toolkit
I've installed Sun J2ME Toolkit 2.1. If I intend to use other third party APIs with my existing toolkit, how do I do that. I can manage to get the jar file of the associated API classes, but how to integrate the same with the toolkit. Thanks in advance to all who support.
if I remember right, it is enough, if you put the .jar of the api in the lib/ directory of your project (<WTK>/apps/<yourProject>/lib/ )
hth
Kay -
Third Party APIs in Java Language which doesnot use JavaMail APIs
Hi Pals,
Is there any third party java mail APIs available which doesnot using Sun JavaMail APIs? The third party would have its own APIs which does not use javax.mail. I have to code in Java Platform so if the APIs are java based its nice and useful to me.....
Thanks & Regards,
Prakashksp wrote:
Hi,
I am using Javamail APIs to send mails. Sometimes Mcafee blocks the mails and its not allowing javax.mail package. Thats why i would like to go for some other third pary which uses their own APIs......What makes you think a third party API would be less prone to interference by McAfee?
Edited by: sabre150 on Jun 18, 2009 10:39 AM
:-) -
Third Party API with Tomcat and Axis
I'm experimenting with creating web services in Java. I'm using tomcat and axis for this. I have successfully created and deployed some basic web services and now I want to create one using a 3rd party API. I follow the same exact procedure and when I deploy the service I check my list of deployed services through the axis page, but all my services have disappearred. Commenting out all 3rd party related methods does successfully deploy the service. Is there anything special/extra I have to do to get 3rd Party classes to function correctly in a web service?
Thanks in advancewhat kind of third party API are using ?
-
Design Approach For Integrating Third Party API's
Our application requires a lot of third party API's to be integrated with the application.
What would be a good design approach for the same
Ritesh.I think maybe you should post a little bit more info: What kind of APIs? C++? java?
-
Precompiled third party API usage
Hi,
I have a question related to the compile and run time behavior of the java objects.
I have written a class which is using third party API classes. The third party API is compiled using the older version (say JDK1.2) version of java. Now I compile my developed class with JDK 1.6.
When we compile a java file which is using the third party API classes, does the byte code hence generated contains the references of the API classes used or somehow it include the byte code of these classes in the newly compiled classes' bytecode? If the byte code of the API classes gets inserted into the newly generated class, does the third party class will also be compiled with the JDK1.6.
Actually I am trying to migrate my application from weblogic 8.1 to weblogic 10.0. The higher version of weblogic require the java files compiled using JDK 1.5 or higher versions. Since the third party APIs are compiled using the previous versions of JDK so I am getting a bit skeptical whether this will work or not. If at all, this will work (with the old API classes) than how?
Thanks in advance,
Amit SinghalI would say to (at least attempt) to get new versions of the librarires.
In any case, the only byte code that shows up in a classfile is created from the code in that class definition (excpet for some references to static final variables, but that can be overlooked for now). Nothing from those "libraries" will be inserted into your newly compiled classes.
Now, as far as those libraries functioning under a new JVM (with such a large version disparity) is questionable. Technically they should, but I would neither count on this, nor expect them to be effecient even if they do function. -
OATS OTM Third-Party API/Interface?
Hello,
I am an Oracle employee and an automation tools developer in a large testing group and we are investigating if OATS OTM has the internal/public interfaces that allow us to update/create test cases and/or update/create test results for test execution that are not wui/gui type applications. Essentially, testing outside of OATS OTM and the OATS integrated testing facilities. I have scoured the available documentation but there is no indication or it is not clear that any such third-party API/Interface exists to perform such tasks.
We are VERY interested in using the OATS OTM as a central testing repository but nearly all of our testing do not include wui/gui application testing, mostly cli/custom/firmware/non-OS/cross-platform testing. We are interested in transitioning from our existing test repository software, which is not an Oracle product, and moving to OATS.
Any help in this area would be greatly appreciated.
Thank you in advance,
RobertHello everyone,
I'm also looking for a API that is exposed from the OATS.
Thanks, -
Is it a third party API for creating table in J2ME?
I am a newbie to J2ME and i would like to know that whther is there any third party API for creating table in J2ME beside using Canvas to draw the table? Please help...
its not the "L shape" that holds it better rather the higher GAUSS rating on the older connector.
Apple redesigned the NEW magsafe to be weaker AND of a diff. design with lower neodymium magnetic gauss rating for a reason
people at coffee shops etc were getting their macbooks yanked to the ground when someone tripped over the cord.
The new neodymium is a N35 gauss and the older Lshape was N40 or N45 gauss (too tight)
I know what youre talking about, but Apple redesigned it that way for several good reasons, despite it "coming out easier" on the bed for which ,
as Apple Inc. states, it is "not intended to be used" (nor in laps, couches...etc.) -
*URGENT* importing third party package into Jdev project
hi,
our company has bought a thrid party package instead of developing one to speed up the project pace. Some how we cannot import the package into our project environment,
this is what we do with the package.
set the class path to where the *.jar files are, for example: C:\AccBank\beta\creditcheck.jar
please note that the "C:\AccBank\beta\" is where the project file locates.
and follow is the import statement
import thirdparty.package1.*;
please tell us what did we do wrong, if the case in question is not clear, please tell us the steps we need to do to import and use a third party package with JDev.
Also, please tell me the different purpose between the directory :
PROJECTFILES and CLASSFILES under the main project directory
Thank you very much for your time and your help
Augustina
nullHello,
I'm not sure about what you mean,
but in order to use a given package within JDevelopper, you should:
- select project/project properties,
- find the libraries tab
- click "add", then "new"
- click "class path"
- click "add ZIP/JAR" and add the various jar files you want to include
Note: if the included libraries contain subpackages of packages like javax, and you want to deploy your project (as EJB for instance) you will have to edit the deployment profiles in order to add the 3rd party libraries, otherwise, these subpackages won't be deployed (by default, packages suvh as java.lang, javax etc.. are not excluded from the deployment).
about the PROJECTFILES and CLASSFILES items, they refer to the directories in which your project's source code (PROJECTFILES) and compiled classes (CLASSFILES) are stored
Hope this helps, Remi
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Augustina:
hi,
our company has bought a thrid party package instead of developing one to speed up the project pace. Some how we cannot import the package into our project environment,
this is what we do with the package.
set the class path to where the *.jar files are, for example: C:\AccBank\beta\creditcheck.jar
please note that the "C:\AccBank\beta\" is where the project file locates.
and follow is the import statement
import thirdparty.package1.*;
please tell us what did we do wrong, if the case in question is not clear, please tell us the steps we need to do to import and use a third party package with JDev.
Also, please tell me the different purpose between the directory :
PROJECTFILES and CLASSFILES under the main project directory
Thank you very much for your time and your help
Augustina <HR></BLOCKQUOTE>
null -
*urgent* importing third party API
hi,
To import the third party *.jar we bought,
I click on
Project->Project Properties->library->add->new
Then I give the APi a name in a the box
Then I click on ... Classpath ->add ZIP/JAR and browse to choose the Jar file to be added to our project.
but then when we expilictely import the
package it is redded highlight
import abc.*;
this line is highlighted and the error message say
Error reading directory D:\thirdparty\JAAdapter.jar bad entry
did I do anything wrong...please helpHi,
This sounds like your jar file might be corrupt.
Try the following: rename the jar file to JAAdapter.zip and try opening it with a zip utility (e.g. WinZip). If the zip utility reports errors, the Jar file is corrupt. -
How to integrate third party API and DLL
Dear sir/Madam
How can i integrate the third party high level API and DLL into my DLL, project keeping in view that all their functions and their definitions kept hidden. i have tried it but when importing the functions in the DLL and export the high level functions, compiler demands their declarations and prototypes.
Is their a way to hide all these high level functions and still utilize them.
thanks, regards
ZafarHi Matrix39,
The compiler will still need the proper prototypes for the functions called in the third party DLL to compile your DLL whether you are using explicit or implicit linking to call the functions. Declaring these prototypes in your DLL does not mean they will be exported by your DLL. The functions exported by your DLL can be configured by navigating to Build»Target Settings in CVI. From here you can configure what functions your DLL exports by clicking the Change... button in the Export section. There are several options for specifying the functions including using header files and manual export declarations. See the CVI Help for more information.
Justin D
Applications Engineer
National Instruments
http://www.ni.com/support/ -
Using Third Party APIs with Tomcat and Axis
I'm experimenting with creating web services in Java. I'm using tomcat and axis for this. I have successfully created and deployed some basic web services and now I want to create one using a 3rd party API. I follow the same exact procedure and when I deploy the service I check my list of deployed services through the axis page, but all my services have disappearred. Commenting out all 3rd party related methods does successfully deploy the service. Is there anything special/extra I have to do to get 3rd Party classes to function correctly in a web service?
Thanks in advanceIf you're using Tomcat, JARs in the /common/lib directory are available to all applications deployed on that instance of Tomcat.
I prefer putting them in the WEB-INF/lib of my web app, even if that means duplication. That way my app doesn't depend on having the server set up a certain way. I deploy them as a WAR file with everything they need enclosed within,no more and no less. They're completely portable to any servlet/J2EE engine that way.
% -
Coldfusion with third party API's?
We've just signed up to Constant Contact's Mailing list
services, and not that they can provide an API to link their
services to your own web application.
I'm in the early stages of learning coldfusion, and plan to
convert our site to Coldfusion in the near future.
I vaguely what an API is meant to do, but can anyone give me
some basic guidance as to whether using API's should be
straightforward with Coldfusion (and therefore worth building into
our web application from scratch) or is it a difficult/complex area
worth avoiding until fully experienced with using
Coldfusion?It depends on the application that is providing the API. As
you are probably aware that CF is all java under the hood so if the
"Contant Contact" is build in Java/Groovy, it can be easily
utilized by CF. Othewise in CF8, you can call .Net assemblies. Web
Services are always an option to access any third party
applications. Essentially CF is very ready to integrate with most
third party applications. -
UCCX Third Party API monitoring Probe
Anyone know of a third party UCCX probe that can be used to report back things like Call Abandonment Rate, Ring No Answer increases, basically any of the getStat variables, or Real Time Reporting variables, such that it reports back through API or something else to our monitoring software so I can configure alerts based on these values and thresholds we configure.
I'm not expecting this product to be free, I'm just interested in what the options are out there. To be clear I'm not looking for separate monitoring software, but more of a probe or something can be scalable across multiple clients networks. If you know of someone who has built this, or know of a company selling this style of product, please let me know.
Thanks,
-RonHi,
UCCX CTI SDK.
Take a look at it at http://developer.cisco.com/
It might seem a bit outdated, but if you want something more modern, object-oriented, some companies offer .NET and Java wrappers, too. Please send a private msg for more info.
G.
Sent from Cisco Technical Support iPad App
Maybe you are looking for
-
Quality of pdfs and colour separations for printing purposes
Having created a 44 page document in Pages, I have exported it as a pdf file so that it can be commercially printed as an A5 magazine. I have used the 'best' option in exporting it as a pdf, but have no idea if that function conforms to PDF-X1A speci
-
Streaming radio just stopped working Firefox version 8, but I can get everything else not on stream to work. Add on's are up to date. I can't recall if it happened after the Firefox up date or after listening to last.fm or what prompted it. How to fi
-
Touchscreen and keyboard problems 4s
some letters will not work - eg U and B but will use adjacent letters. The screen goes mad when finger hovered over letters and sometimes is completely unresponsive. Have restarted and reset but still the same
-
My purchases are corrupt, how can I re-download them?
A lot of my files of puchased music became corrupt. How can I re-download them and keep all the data ie: play counts, ratings ect.? When I go to download them they are marked "downloaded". What's up with that?
-
Syncronization - Confusing and Frustrating
Guys, I recently go N97 and was pretty pleased with it... but it has soo many issues and confusions with Sync.. I would like know the difference between the functionality of Sync button on the top of ovi suite and the PC sync option? I am assuming th