Can we use Lync/Skype SDK in Eclipse IDE - java

I am new to programming with SDK so I wanted to check what is the best way to have an automated interaction between my Java application and Lync.
I did some research online and found this link were you can download and start using the SDK with visual studio. but I want to use Eclipse IDE to do the programming.
SDK download link - https://www.microsoft.com/en-in/download/details.aspx?id=36824
Sandesh Jadhav

This depends a little bit what you wish to perform and which application you wish to write as there exists multiple Lync / Skype for Business SDKs. Based on your posting it looks like you arenĀ“t really sure where to start, so let me create a summary here where you can choose the right SDK from.
With Skype for Business (former known as Lync) you have multiple options to choose from. However it depends if you wish to build an Server or an Client application:
(Source from Screenshot here)
UCWA (is a RESTful Web API that acts on behalf of a single Skype for Business user)
UCMA (is a .NET SDK that provides rich control over a Skype for Business server deployment. It enables applications to automatically route calls and messages, provide automatic responses (IVR or chat bots), record conversations etc.)
Skype for Business / Lync Server SDK
Skype for Business Client (Desktop) API / Lync client managed API
Skype for Business App SDK (designed to work with your iOS and Android app)
Skype Web SDK (set of JavaScript Web APIs and HTML controls that enable you to build web experiences that seamlessly integrate a wide variety of real-time collaboration)
However it depends what you wish to perform and for example if your java application is some kind of mobile one for example.
Depending on your needs you might also have a look into the "Microsoft Bot Framework".

Related

Using backend service providers with standalone applications

I am developing a restaurant POS & ordering system for my college project, I'm hoping to develop a standalone Java/C# (Still deciding) app which would serve as the POS and adding menu items + an android app for waiters to take orders from customers.
I'd like to connect these two apps and for the backend I'm looking into integrating Firebase or back4app since parse is being discontinued, is this a good choice?
I'd like some pointers on how to set up the database connection with a internet based backend service provider like Firebase or back4app with a standalone application.
Please feel free to suggest other possible routes I could take to connect these two apps together.
Thanks!
The Firebase realtime database component includes a JAVA Server SDK and a REST API which could be used for integrating with your standalone application.
There is some JAVA SDK documentation here:
https://firebase.google.com/docs/database/server/start

Web app to Desktop app communication

I have a web application (written using GWT) that used to load a Java applet in order to perform some tasks, such as writing/reading a file on a local filesystem and printing to multiple printers. Since Java applets are no longer supported in Chrome and are generally deprecated I need to find a suitable alternative.
My Web app should send and receive data from Desktop Java app. This communication should be implemented locally since it has to work even when client is offline (web app continues to work when user is offline).
I considered building a Chrome extension that uses Chrome Messaging API to communicate with Web app as well as Desktop app (pass data between them and act as a mediator). This can work but I am wondering if there is a cross-browser way of achieving this?
I've also considered building a web server inside Desktop Java app and then call http://localhost:port from the web app, but I'm not sure about possible negative security (and other) implications of this approach.
What would you recommend?
Thanks!
Since you use chrome, there is support for HTML5 Filesystem features.
For example as described here: http://www.noupe.com/design/html5-filesystem-api-create-files-store-locally-using-javascript-webkit.html
GWT supports no Filesystem access directly, only local browser storage. So you need to wrap it yourself or use the elemental.* api (http://www.gwtproject.org/articles/elemental.html) to gain access to the elements directly and wrap them into widgets.
You may find this discussion helpful as well: GWT Websockets with Elemental

Set up web services based environment (advice/tips to start)

I am a bit lost because it's my first time assuming this role for a project.
We are making a software which consists in an app developed in Phonegap (for making a service oriented architecture, to make multiplatform easier).
The Phonegap app (and also the admin web) will be consuming constantly web services (every functionality is a service), and is my task to set up and environment to publish the API with the different services. I have heard about JAX-RS and also Spring MVC (I prefer this last option, because the good integration with Tomcat, and knowledge on the framework).
I have more or less clear the architecture (Tomcat+Spring+WebServices), but I am not sure how to start, because of the integration with the mobile app. I obviously want to develop with Java in the server side.
Any advice to start or related?
Thanks too much to all.
I would suggest you go for Apache CXF support for Rest Service.You can deploy the same in a tomcat server.I will suggest you to read the following URLs for better understanding:
http://www.dreamsyssoft.com/blog/blog.php?/archives/7-Simple-JAX-RS-Web-Service-in-Java-with-Spring-and-CXF.html
http://cxf.apache.org/docs/restful-services.html
Hope this helps.

Developing Apps for iOS, Android and the Desktop

We have an existing distributed application used by a small company to manage their customers.
The server side component is deployed in the cloud as a simple Java app that manages a connection to a MySQL database.
The client side is implemented as a Java Swing application deployed using JNLP and communicates with the server side using RMI.
This has worked quite well for us so far, but recently we've been looking at how our customers could access the application from mobile devices, tablets (both iOS and Android) as well as from the desktop.
At the minute I'm thinking we should be looking into developing RESTful web services on the server side to manage access to the MySQL database. On the client side, we could use Googles GWT to provide a quick and easy solution for accessing the services from all platforms. Going forward we could implement native iOS / Android apps to access the web services.
Am I am the right track here? Does anyone have any better approaches? Does anyone have any recommendations as to what tools I should be looking at?
The key thing I am interested in is being able to access the server side from any platform. I really don't want to have to implement separate server side implementations for each
Sounds like you are on the right track with the RESTFul web services. If you go this route, you should be covered for the backend. As long as your frontend can do http requests and handle JSON data you will be fine.
Going forward we could implement native iOS / Android apps to access the web services.
It is possible to design a mobile app for deployment on both android and iOS, this could save time on the development effort. To do that you could use, for example PhoneGap, which creates an abstraction layer over the phone hardware, along with something like jQuery Mobile, in which the UI is developed in HTML5 and javascript, and the same code is deployed via PhoneGap on both devices.
PhoneGap: http://phonegap.com/
jQuery Mobile: http://jquerymobile.com/
if there is some other option that lets you deploy the same frontend on android, iOS, AND the desktop, i would go with that, so that you only have one code base for the frontend.
I think your solution (GWT/HTML5) client talking to a server-side "business" layer is a good multi-client solution. RESTful web services are unneccesary in the context of what you have described since the GWT implmentation would take care of the comms between client and server:
GWT client <---> Server (GWT) <---> Database
If you are using a different client implementation (such as iOS), then RESTful services will be very handy indeed (and you wouldn't use GWT):
iOS client <---> Server (RESTful endpoints) <---> Database
HTML5 is becoming provides a decent compromise between broad applicability (many clients) and rich client features. I have seen an article in the past about using PhoneGap and GWT together which sounded like a good strategy for working with GWT (which I like) and gaining access to device-dependent capabilities. All whilst working in an environment where you can (Java-)debug even client code (incredibly useful GWT feature).

Implementing chat application with Java EE

I have developed my web application by using Java EE framework EJB 3, at front using JSF.
Now I plan to add chat tool to my web application. All online users can chat with each other.
Can you please guide me which tool I should use to Integrate it with Java EE to develop my chat application? I also appreciate if you provide code or any link.
1- You have to install a pre developed Chat server. There is many available solutions I advice you to choose Ejabberd ( http://www.ejabberd.im/ ). It's a chat server implemented using Erlang and is considered as a highly scalable server. It's the same as facebook chat server, note that facebook used at the beginning only one server to handle all its chat traffic all over the world.
2- You have to integrate a js chat client that will communicate with the chat server. There is also a cool open source solution for that called ijab ( http://code.google.com/p/ijab/ ). You have just to configure it to connect with your server.
3- To add friends and manage interactions between users, you can use a java jabber library and there are many. This library will be used to connect to ejabberd server. You can choose one of the java clients but there are many.
You'll encounter many problems in the configuration of chat so don't under estimate it
Link: Building a centralized connection-oriented Java Chat Server. This tutorial also provides a good overview on socket/network programming.

Categories