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

  • Home
  • SEARCH
  • 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 7563403
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T13:39:27+00:00 2026-05-30T13:39:27+00:00

I primarily come from a PHP background but I have been asked to develop

  • 0

I primarily come from a PHP background but I have been asked to develop a website using the Java platform. I have been exposed to some terminology that I don’t quite yet understand and I was hoping that anybody with Java familiarity could let me know in basic terms what it means/is used for. Or if you could tell me its equivalency in the PHP world that would be great too. The words are:

  1. Spring
  2. Struts
  3. JavaBeans
  4. EJB
  5. JMS
  6. Servlet

Thanks!

  • 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-30T13:39:28+00:00Added an answer on May 30, 2026 at 1:39 pm

    First of all most of them are Technologies that have been wrapped up around Java EE architecture. First of all do you understand what MVC stands for. MVC is Model-View-Controller pattern. It is a design principle that lets you separate your concerns easily. There are couple of PHP frameworks that follow MVC pattern. Eg:- Kohana

    Spring

    Spring is an MVC aritecture but beware it’s not just for MVC… Spring has loads of uses. If you have used frameworks related to PHP such as Zend or CakePHP you could say that Spring is similar to them. You can checkout the Spring features.

    Struts

    Struts is a Front End controller. It takes all the requests and map them to their relevant actions. Here is a part from Apache Struts website

    One way to separate concerns in a software application is to use a
    Model-View-Controller (MVC) architecture. The Model represents the
    business or database code, the View represents the page design code,
    and the Controller represents the navigational code. The Struts
    framework is designed to help developers create web applications that
    utilize a MVC architecture.

    Here are the basic components of Struts.

    1. A “request” handler provided by the application developer that is
      mapped to a standard URI.
    2. A “response” handler that transfers control to another resource
      which completes the response.
    3. A tag library that helps developers create interactive form-based
      applications with server pages.

    PHP equivalent for this should probably be the Routes module in a PHP framework. Some helpful sources to easily get started with Struts –

    Struts for dummies

    JavaBeans

    1. Java beans are rather simple. They follow a standard. Here are the
      followed conventions – The class must have a public default
      constructor (no-argument). This allows easy instantiation within
      editing and activation frameworks.
    2. The class properties must be accessible using get, set, is (used for
      boolean properties instead of get) and other methods (so-called
      accessor methods and mutator methods), following a standard naming
      convention. This allows easy automated inspection and updating of
      bean state within frameworks, many of which include custom editors
      for various types of properties. Setters must receive only one
      argument.
    3. The class should be serializable. It allows applications and
      frameworks to reliably save, store, and restore the bean’s state in
      a fashion independent of the VM and of the platform.

    If you found above explanations harder to understand that’s fine since Java Beans can be explained by an example simply.

    public class Student implements java.io.Serializable{
     private String name;
     private Integer id;
     public Student(){}
    
     public void setName(String name){
      this.name=name;
     }
     public String getName(){
      return this.name;
     }
     public void setId(Integer id){
      this.id=id;
     }
    public Integer getId(){
     return this.id;
     }
    }
    

    More helpful sources from – Wikipedia. Probably this is a PHP class.

    EJB

    EJB – Enterprise Java Beans. This probably doesn’t have a PHP alternative. EJB is bit complex. It’s kinda of like a mega bean that has business logic around it. Best place to find more is Wikipedia –

    JMS

    JMS stands for Java Messaging Service. JMS provides communication in between Java applications. JMS is a technology and there are many provider implementations of it. Best I heard of happens to be HornetQ. Beware that I haven’t used it. There is no PHP counter part as I know.

    Servlet

    Servlet is what takes the request and provides controller logic. Servlet routes the files back again to a JSP – which a Java Server page. This can be your PHP frameworks controller code.

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

Sidebar

Related Questions

My background is primarily as a Java Developer, but lately I have been doing
I'm relatively new to C# - but come from a C/C++ background. I need
I'm attempting to parse a set of CSV data using PHP, but having a
I have years of experience with Microsoft .NET development (primarily C#) and have been
This is a particular problem that I have come across many times, but I
I've come from iPhone background and am writing an android app. I've got a
I am about to begin development of a new website and have been doing
Hi I use AS3 quite a lot for work, but I come from a
I've done some Googling and searching on SO, but I have not been able
I'm working on an ASP.NET MVC 3 application. I primarily come from a ASP.NET

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.