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 8789101
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T22:18:33+00:00 2026-06-13T22:18:33+00:00

We’re designing two distinct systems which can be simulated by the following typical example.

  • 0

We’re designing two distinct systems which can be simulated by the following typical example.

Web App #1 – Course catalog (allows updating / populating the course catalog)

  • Professors
  • Course (courseCode, professorId, list of Prerequisites, grade scale used)
  • Prerequisites (courseCode and minimum grade required)
  • GradeScale (i.e. A-F, 1-100, pass/fail)

Web App #2 – Student catalog (handles students registering for new courses, seeing their transcript, etc)

  • Student
  • Transcript (what courses did they take and what final grade)

Data that needs to pass between the two systems (there will be more calls and stuff that needs to be handed back and forth, but this gives the idea that it’s a 2-way flow of questions and answers):

  1. Does a student have the pre-reqs needed to take a particular course?
  2. Pulling details from the course catalog to create a full transcript

From reading, it seems our options are:

  1. Create EJBs for the underlying data model, then have the web applications use the EJB interface.
  2. Use a REST or Web Service interface between the two applications.
  3. RMI or other Java remoting?

Which way would you cut this up into JARs/WARs/EARs?

  • 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-06-13T22:18:34+00:00Added an answer on June 13, 2026 at 10:18 pm

    This was initially a comment but it’s actually too long.

    If you got only simple imperative services (set this, do that, is this valid?), then you can go for an AXIS2/SOAP based web services solution. (you probably won’t need the whole bloat of SpringWS). If the app logic is not too twisted, I’d follow KISS principle.

    I don’t know your system scenario, but if you’re using a full fledge RDBMS, it’s high probable that the database will reside on its own machine, thus having different pools connecting to it, is not much of a burden. (if you’re using a local db on each AS, you’re probably going to face some scalability problems later on).

    In modern Java EE app servers you can actually use connection pools of one server from another (via jnp:// urls), it’s just a matter of JNDI lookup.

    If the db engine supports it, oracle alike db links are also a good way to share a database between apps.

    You can spare code times by having a business/data layer in a simple java project with all the ORM stuffs, shared across the 2 web dinamic projects, so eventual changes in business logic will reflect onto both apps.

    You can also tryout the mixed way (simple imperative Web Services and database share), it really depends on what messages are exchanged between the two applications. You can provide a layer of web services API (SOAP or jsonp based), but take into account execution time of the web service itself (it’s not so good to have time consuming ws).

    Web Services and EJB are good and probably can do what you need, the real question is: do you really need them ? lately I’ve seen lots of project starting with the full REST thing, and in many cases it was like killing flies with a bazooka.

    If the requirements are simple, then keep it simple.

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

Sidebar

Related Questions

I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I am trying to understand how to use SyndicationItem to display feed which is
I used javascript for loading a picture on my website depending on which small
I have a jquery bug and I've been looking for hours now, I can't
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I would like to run a str_replace or preg_replace which looks for certain words
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this

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.