Connecting JADE with WAMP - wamp

Hi Java Agent DEvelopment Framework developers! I want to use WAMP with JADE, can I do that, simple because I am well averse with WAMP. Or does JADE recommend only Java related technologies to be interfaced? Thanks for the answer.

I think you want to use WAMP for developing some front-end logic. You can do this but you probably have to develop JADE as a web service which requires it to be deployed to a web container like tomcat. and communicate with JADE agents via SOAP messages or use tomcat connectors to integrate apache web server with tomcat and service the requests using Java Servlets. Either way you need some Java web container.

Related

Using Apache CXF with Aegis databinding and JAX-WS front-end

I'm new to the web services. Trying to learn something related to Apache CXF. Can anyone please give me an example (along with configuration, so that it can run on any application server say Tomcat) that uses Aegis data binding with JAX-WS as front-end?
I.e. the web service should use Aegis data binding with JAX-WS as front-end. The web service client may use any binding, any front-end, or it may be a simple standalone application also.

Could Web server and Application server be developed separately?

My friend has developed a recommend system in C++, now we want to make a web information system based on his work. As we both do not have no Web technology knowledge, I have some questions:
If we want to develop a web site which based on this recommend system, we should implement the recommend system in the application server and make a web server that could return the pages, right?
Then what web server we should use or use what technique to develop a web server to call the function in the recommend system? How the web server communicates with the application server?
Some web frameworks, such as Django, does it act as web server or application server or it is both?
As we have so much basic questions, do you have some books or website to recommend?
You can think of your C++ app as a service that your Django app can execute to return values to your users. You could easily execute any application on the same server as Django and capture the response or you could create a thin HTTP API and put your C++ app on its own server and call it by HTTP from your Django app to make requests for your users.
https://www.djangoproject.com/ is a great place to start.

Web Service on Netbeans

I have created a Web Service in Net Beans 6.9 and deploy it locally. And I am using it via a java SE application by adding Web Service client in this application. How to obtain the link of the Web Serice so that it can be used from anywhere ?
2) From where to obtain WSDL file of Web Service ?
3) How to host a Web Service on the internet ?
Thank a ton in advance..!!!
You could create a new project of type web application in Netbeans.
In the web application, you will then create a web service (NOT a web service client).
For publishing and testing the web application, you will have to deploy it to a web server (e.g. GlassFish).
After publishing the web application, the WSDL file will be typically located at: http://localhost:<port>/<your web app>/<your service>?wsdl
For GlassFish, the default port is 8080.
If your current Netbeans installation doesn't support web projects or you don't have GlassFish installed, I suggest you download and install the latest version of Netbeans with Java EE support (bundled Apache Tomcat and GlassFish server in the same setup).
http://netbeans.org/downloads/index.html
Hosting SOAP web services on the internet at large has not been terribly successful. For example Google had SOAP based web services initially, and they switched to REST based services in the end. You may want to reconsider and deploy a REST based interface. If the bulk of your code is not embedded in the web service, then you should not have that difficult of a time switching the interface.
To deploy a SOAP or a REST web service, you would need to deploy a 'full' Java EE container (e.g. Glassfissh or JBoss) on a machine with access to the internet. You might virtual hosting e.g. Westhost, Amazon, or there are turnkey solutions like Heroku (note: I'm not endorsing any of the companies listed here; they're just examples). If you just want to deploy a REST based service, any web container will do e.g. Tomcat or Jetty. In addition to services mentioned above you could probably host a rest web service on any service that will let you upload a war file.

Can we run Metro Web services on IIS?

Can we run the web services created using METRO web service stack on the IIS server as opposed to Glassfish or tomcat?
Your question does not really make sense. Metro web services are Java based, they have nothing to do with IIS, therefore you can't run them on IIS. However you can implement the same logic in WCF and host it on IIS. You can also call Metro web services from WCF.

Tornado web server/framework

I am a bit confused, Tornado is web server like a apache http server, or a framework like django, or both?
Thanks
Tornado is a server and framework if you want to make some apps with it.
I use Tornado to serve my django apps, with help of nginx (load balancer to run more than 1 Tornado instance) and supervisor to make those tornados live if my apps fail.
I use WebFaction and the performance of my apps got better with Tornado instead of serving them with apache.
Tornado is both a non-blocking web server and a lightweight web framework.
It can act as web server to other web frameworks such as Django through the use of tornado.wsgi, but also possesses a core web framework with functionality such as templating (tornado.template), SQL database integration (tornado.database), and OpenID authorization (tornado.auth). Many developers use it for its superior performance as a non-blocking web server in conjunction with other wsgi capable frameworks, but it's much more than just a web server.
Tornado Documentation
Tornado is asynchronous (+ single threaded) and event-driven. Apache http and django are not.
The "Django vs Tornado" is an ongoing flame war
IMHO I would start with Tornado (or Deft if you like the JVM).
Disclaimer: I'm a Deft committer.