Web service without apache, jetty, ... or another server [closed] - java

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I need to create SOAP web service without using some web server(apache, jetty, ...).
javax.jws.WebService seems best option, but I know how it work in production mode.
Someone using javax.jws.WebService? It will be work with 100 online users?
Maybe some advise about other web service options?
Thanks!

It can easily support 100 users, rather you will need to make it support 100 users ;)
You can implement the webservice without webservers but then you will end up coding all the features that the webserver's provide to you like:
-- Multiple request processing or scalability
-- Authentication, authorization, auditing.
I you could tell me why do you want to hand code the webservice platform it would be helpful.

Some WebServers can run in embedded mode (jetty for example).

Related

How can Java code integrate with an existing Enterprise Service Bus? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have an existing piece of Java software and I am being asked if it can integrate with an Enterprise Service bus. The Java software can (or can be easily modified to) call web services, send emails, add items to message queues, etc. Does that mean it can integrate with an ESB or is integration with an ESB a lot more complicated? Unfortunately I don't have any info about the specific ESB and know very little about ESB's.
Yes, you can integrate Java code with an ESB.
Integration is typically done via SOAP web services.

Web service technology to use with .NET apps and JSF [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I've got bunch of applications in .NET technologies: desktop in winforms, web in ASP.NET. I will have also a webpage wirtten in JSF. All these applications work with the same database (or databases). My problem is that all these application connect to the database (or will connect) on their own.
I want to create a gateway which will have only access to database. Other applications (in .NET and Java) will use it to get data from database. And I'm wondering which technology will be the best, for .NET and Java.
I've have to tell that I don't have much experience with Java, so I need a little help on this.
You basically want to create a server that encapsulates your database. This server should be used from different programming languages.
Your goal should be to use a technology that is easiy usable in these different languages.
A web-service - either using SOAP or being RESTful - comes to mind here.

Which Java Web Framework and Web Application Server to use? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have intranet highly user interactive ASP.net applications, which now I am going to develop in Java as it is the requirement. I need to know what kind of java web frameworks should I use... full stack frameworks or MVC frameworks? I ll use jQuery, javascript, ajax and client and server side validation. Which framework is most suitable for my application? I need to know comparison of Glassfish, Websphere and Weblogic and any other application server. Which one is suitable for my web applications?
There is never "the best web framework" or "the best application server". Each framework and server has its pros and cons.
I highly recommend to give yourself an overview about the different Java web frameworks currently available.
Which web framework and which application server best fits your need really depends on your application. Again, there's no "best product".
Evaluate the web frameworks together with application servers.

Want to develop a servlet container like tomcat [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Actually I want to develop a simple servlet container like tomcat. It's purely my learning purpose. It would be very helpful if anyone can help and guide me where to start actually.
Thanks in advance.
First, study the Java Servlet API (fundementals) to understand to understand the lifecycle of the Servlet. Now, we're on Servlet 3 specification (The Latest Tomcat) so you will have to decide which version of Servlet API you want to implement.
Aside from studying the Servlet API you can grab tomcat's source code and read it. Start by doing something very very simple, like write a container that is capable of accepting Http request.
Start with Socket Programming. How server listen to request on port 80.
Then Start the Request Handler. How the request from the client will be treated and then send the response to the client.
Start it with single threaded environment and then go to multi-Threaded environment. To receive request from different clients.
Then you can start keeping sessions and so on...
Hope it will help you.

Bridges between Java and .NET [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm interested in technologies(solutions) that permits Java and .NET interoperate. I have tried the following and it works but I would like to know if there are other solutions:
Sockets
Web Services (Metro)
CORBA (IIOP.NET)
Messaging (QPid)
IKVM
Does anyone know other technologies(solutions) that enable Java and .NET interoperate or best practices for Java and .NET interoperability?
We use Apache ActiveMQ
I've used j-Integra's stuff before on a few projects that served me well
I have been working with JNBridge tools for in-process one-way JAVA Swing UI calling .NET 4.0 back end.
The whole thing performs well but does require discipline in its management. A license fee is required, so is really only a good choice when the 2 languages have to be used together.
Check out JNBridge.
I haven't used it, but I have heard this works: http://jnbridge.com/

Categories

Resources