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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T20:54:09+00:00 2026-05-23T20:54:09+00:00

I was wondering what are the general steps required in building some sort of

  • 0

I was wondering what are the general steps required in building some sort of java extension or plugin. More specifically, I’m looking to build something like a C++ struct in java that will allow me to declare the methods from a particular class so that I can indicate the order they should be executed by the JVM. This is just pie in the sky at the moment and I’m interested in how the likes of AspectJ or other java extensions work to allow you to declare syntax that is not native to java. I’m assuming this would require some sort of compiler plugin.

As an example, I envisage something like the following

public struct weakProfile {
   streamDataViaGprs();
   sendSimpleMap();
}

public struct strongProfile {
   streamDataVia3G();
   sendComplexMap();
   sendAudio();
}

In the above example, if I have a web service and the client has a weak profile, meaning that the device they are using to invoke the service has low processing and poor bandwidth capabilities, then I would like to only deliver only streamDataViaGprs() and sendSimpleMap() functionality. However, if the client device has strong processing capabilities and excellent bandwidth connection, then I would like to streamDataVia3G(), sendComplexMap() and sendAudio(). This is my ultimate goal, however I’m not sure what would be involved in developing a structure as that above, let alone if it’s even possible.

  • 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-23T20:54:10+00:00Added an answer on May 23, 2026 at 8:54 pm

    If you are using Eclipse you can take a look at Xtext.
    It allows you to create a DSL and a code editor (with syntax highlighting and code completion) inside Eclipse.

    There is also JetBrains MPS, the Meta Programming System.

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

Sidebar

Related Questions

It's not a specific question, more a general wondering. When you have to make
I am wondering if there is any general syntax highlighter for some popular languages
This is a sort of general inquiry I've been wondering about. I've noticed a
I was wondering if anyone has some general sys admin questions on how best
I was wondering if anyone had some good general information on windows terminal services
As a matter of general interest I'm wondering if there's a more elegant/efficient way
I have to give a general note to some huge Java project for which
Two general questions I'm wondering about both in the case for a given file(.js,
I was wondering what are the general benefits (or drawbacks) of using a non-static
This is a very general question: I was wondering whether it is possible to

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.