I planning to using XQuery in J2EE web application running on WebLogic 11g. I know WebLogic has XQuery implementation but couldn't find any link on how to use them. I am looking for sample & package/class I need to start with.
BEA Weblogic - designed the framework provided implementation for XmlBeans. later this project got migrated to apache foundation.
Xmlbeans has an simple XQuery engine build with. you can get more pointers to know the details.
if not you can use any of the open-source xquery engines inside weblogic.
Related
I need to check if I could use SQL Server with Kitura hosted in Bluemix using ICT (IBM Cloud Tool).
I like the idea of Swift in the Server but at the same time I only know Microsoft SQL Server Database which is hosted externally and would like to call that in my Kitura Server and then expose as WebService/API.
I found a good ObjectiveC library which can make SQL Server Connection. but that is ObjectiveC, and could work with Swift.
https://github.com/martinrybak/SQLClient
but when I installed it in the Kitura Project it throws errors (I can provide details...)
Just wondering if any one knows :
1) Is there a way to use SQL Server which I can call in Kitura Server. (Outside BlueMix)
2) Is there a way to install Cocoapods in Kitura - specially if Cocoapods installs an ObjectiveC library. Can I use a bridging header to bring that in the Kitura Server code. (I tried but don't seem to work)
3) Is there a way to use Microsoft SQL Server which I can call in Kitura Server. (Within BlueMix)
Many Thanks.
As you mentioned the project you found for connecting to Microsoft SQL Server is written in Objective C.
Kitura based applications, when running on Bluemix, are built using Swift Package Manager (SPM). Even for macOS, where there is an Objective C runtime for Swift, I don't think SPM knows how to create the proper bridging header. In addition there is no Objective C runtime for Swift on Linux.
However, there is Swift-Kuery (https://github.com/IBM-Swift/Swift-Kuery), our Relational Database abstraction layer. We currently have a plugin for PostgreSQL, with one for SQLite well under way. In addition we are starting to work on one for MySQL as well.
There exist ODBC drivers that can be worked with from Swift. Using one of those it might not be too hard to build a Microsoft SQL Server plugin for Swift-Kuery.
At this time we don't have any plans for an SQL Server plugin for Swift-Kuery, but we'd love to see one from the community.
I have WL6.0 project that contains SQL adapter. The adapter has procedure with requestTimeoutInSeconds="240" and I am trying to migrate that project to WL7.1.
As per Adapter timeout and concurrency article on IBM Knowledge Center, I have to use JNDI config instead.
The requestTimeoutInSeconds attribute of and
elements is ignored. Use JNDI configuration instead.
Can any one provide an example how to implement that?
I am working on MobileFirst Studio 7.1 and I imported the project with no errors.
Note that you are developing in MobileFirst Studio, which utilizes the Liberty application server as its underlying server.
Locally such changes are not required, since you're working locally...
This will become important once you start on moving to testing and production environments.
This means that you will need to update the server.xml of your WebSpher full profile/Liberty profile - not the server.xml of the server in MobileFist Studio.
You you can find documentation for this in the Liberty docs, here: http://www.ibm.com/support/knowledgecenter/was_beta_liberty/com.ibm.websphere.wlp.nd.multiplatform.doc/ae/twlp_dep_configuring_ds.html
Note that the setup you need to do differs based on your database type: MySQL, Oracle, DB2, ... You can find examples for each database type in the link above.
Is it allowed to build a .NET service for ReverseGeoCoding (LocalLocatorTask) which runs on a server?
We would like to build a service which translates GPS-coordinates to addresses using ArcGIS Runtime SDK for .NET. We are already licensed to use the Standard license needed for LocalLocators.
But now we've heard is not allowed to build server applications, is this true and where can I find this in the terms and conditions?
Thanks,
Frederiek
No it isn't allowed (though I can't find the exact wording) as it basically negates the need for ArcGIS Server or the need for multiple user accounts when the same functionality is deployed as an app.
If you can't use it as an app or use ArcGIS Server / Online directly and really need a windows service then you will need to write your own code to do it. If you can use ArcGIS Server services from the windows service I have a project that manages the REST calls at https://github.com/davetimmins/ArcGIS.PCL
This is currently prohibited by the license agreement, though there is no technical reason why it wouldn't work. It is not tested or certified for services environments by Esri development teams.
I have to implements a single sign on procedure between 2 web applications.
One of them is running on OAS version 10.1.2, developed using JDeveloper 10g, the application uses ADF framework (10.1.2) and Java 1.4. It authenticates users using a JAZN.xml file, so the users/ passwords aren't in database.
The other is a RESTful application running on a Glassfish 4.1 server, developped in Java 8. Each modules are bundled as OSGi bundles. Authentication not implemented yet.
We were planning on using an LDAP server (Oracle Internet Directory, the only one working with ADF 10.1.2) but I can't seem to be able to find clear documentation about it.
I've found http://java2go.blogspot.com/2012/05/oracle-adf-with-sso-definitive-guide.html which is for WebLogic not OAS, and http://sqltech.cl/doc/oas10gR31/web.1013/b28967/adding_security001.htm which is for version 10.1.3
1- Is there a place with more documentation, how-to, on LDAP configuration with ADF 10.1.2?
2- Is it possible to manage Users/password from the app using LDAP authentication or we must connect to LDAP server to change/create users/passwords?
3- what do you think would be a better approach to implement SSO?
I am confused, what is difference between generic web server and web server in weblogic?
Generic server is a special server and run time implementation of base server tooling that can adjust its behavior by a server type definition file. Server type definition files are XML based meta information files that are introduced using "org.eclipse.jst.server.generic.core.serverdefinition" extension point.This document describes the different parts of the server definition files.
WebLogic Server implements Java 2 Platform, Enterprise Edition (J2EE) version 1.3 technologies (http://java.sun.com/j2ee/sdk_1.3/index.html). J2EE is the standard platform for developing multi-tier Enterprise applications based on the Java programming language. The technologies that make up J2EE were developed collaboratively by Sun Microsystems and other software vendors, including BEA Systems.
WebLogic Server J2EE applications are based on standardized, modular components. WebLogic Server provides a complete set of services for those modules and handles many details of application behavior automatically, without requiring programming.