Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 801337
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T23:25:35+00:00 2026-05-14T23:25:35+00:00

Using Spring as Framework, if i need provide business logic’s service to either JSP/Servlets(on

  • 0

Using Spring as Framework, if i need provide business logic’s service to either JSP/Servlets(on Web Servers) or to Application desktop client or Mobile clients, the only way to accomplish the logic business(without EJB) in a remote server is through Servlets?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T23:25:35+00:00Added an answer on May 14, 2026 at 11:25 pm

    It’s one alternative. But nothing stops you from creating your own server or handle the work to the Spring container.

    The advantages with using a Servlet container is that you get thread and socket handling for free.
    (This also applies to RMI with a RMI server)

    The advantages with using a Web Service framework that uses a Servlet is that you only need to handle and configure generated code. And that it works with all major technologies such as .NET and PHP, since it’s just XML.

    Another advantage in advanced operations environment is that a Servlet sends HTTP messages by default on port 80. With rigid firewalls, this is the absolute easiest solution.

    For example with RMI, you need two ports for communication.

    If you are interested in using a web container like Tomcat on your remote server, you should have the Spring container inside the web container.

    But the absolute simplest alternative if you can live with Spring in both ends is to use Spring invokers together with Java 6’s bundled web container.

    With good layering, you can test all the business and integration layer code with JUnit tests! That’s quite elegant!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm building a MVC web application (using the Spring MVC framework), and I'm a
Almost every new Java-web-project is using a modern MVC-framework such as Struts or Spring
I am using Spring Forms for my web application. For nested properties, the form
We have started using Spring framework in my project. After becoming acquainted with the
I'm using hibernate validator framework with Spring. A class implementing the Spring Validator validates
We're using Spring 2.5.4/Hibernate 3.2/Websphere Application Server 6.1.0.17. We've deployed the application on an
Currently I am evaluating number of web service frameworks in Java. I need web
I am using Flask micro-framework 0.6 and Python 2.6 I need to get the
Im moving first steps today on GWT framework. I need to understand (using the
Using the .NET framework, I'm trying to replace double slash characters in a string

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.