Connecting Swift2 iOs app to Java web application - java

I have created a web app using java servlets and was wondering if there was a possibility of connection ios apps written in swift2 to the MySQL database in the web application. I have found information on how to connect android applications to the java servlet on my web app to be able to make queries to the database but the only information I can get about connecting the swift2 app to the database is through php and from what I have read, Java Servlets and php cannot be used together. Has anyone a solution to this problem?

Related

Azure - Java aplication

We are planning to deploy Java application ( using jax-ws) on Azure with Tomcat. But am not sure how to connect to On premises database on Azure in Java. Can someone please provide some pointers.
Thanks.
Assuming you will deploy your Java app in an Azure App Service, you have basically two options:
Use a hybrid connection
Use a VNET integrated App Service and connect to on-premise via VPN or Express Route

How to connect android application with my websit database?

I have already design a web site using Spring MVC. Now I want to develop an android application that able to get the client details of my web site and the interface is completely different from my web site and also has additional functions. The changes made through android application should be updated in my web site also. What is he best way to do it? Can I make my database common for both applications or I want to move into REST web services.

Can java access ASP.Net Session Data in Memory if both apps are on the same server and Java has the Session ID?

I am building a java Rest Service that is located on the same server as a .Net application. The client is hosted within the .Net Application but it communicates with a Java Rest Service. We need some way of accessing the Users Session data in .Net without altering the .Net code. So my question is...
If the java Rest Service app is located on the same server as the ASP.NET app. This means ASP.NET is saving the users information on the servers memory. If we have the Session ID. And its past to java, is it possible for Java to retrieve that information in memory by using the Session ID ?
In general what are my possibilities.
The java application and the ASP.NET application are both on the same server and on a windows server.
Thanks

Access web based java application on different systems?

Hi i have created a web based application using struts2,spring and ibatis. I am using Apache tomcat server to host it on my computer and using msql as datasource.
I am able to use application on my computer browser.
But the requirement is to make this web based application to be accessible on more than one system using the browser.
Can you guys please guide me as how i can do that.As i am new to web based applications

Tomcat MySQL Server with OAuth 2.0

I am trying to implement a MySQL database that is accessible via REST APIs. In order to do so, I am running a dynamic web project within a Tomcat 8.0 Server.
However, now I am looking to implement some form of authentication that has to happen before a client (i.e. an Android app) can have access to the APIs. I have been reading up on OAuth 2.0, and it does appear to be what I am looking for.
Based on the article that I have been reading (http://tutorials.jenkov.com/oauth2/authorization.html), it appears that a separate OAuth server has to be running. The question is, how can this be done? I am currently using Eclipse to compile and start my local Tomcat server. Do I have to create a separate server in Eclipse? Once the permission has been granted, does the client need to interact with the OAuth server in order to access the database data or does it interact with the Tomcat server that I am running?

Categories