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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T17:01:35+00:00 2026-05-23T17:01:35+00:00

I have application building using third party apis, j2me apis,application code distributed in various

  • 0

I have application building using third party apis, j2me apis,application code distributed in various java packages.

in user interface class device specific code is not to be imported, but it is required.

while building the application using tools like ant, building separate package as jar is not possible now because various packages are importing code from other packages etc.

i am trying to separate each package with interfaces but not always possible.
still at few places code from user interface layer is required in ui specific code. also third party application source code is modified to develop the application. so in future next release of third party jar can not be used as it is, need to get source code , modify it and then include.

is there better way to develop application with minimizing package interactions?

  • 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-23T17:01:35+00:00Added an answer on May 23, 2026 at 5:01 pm

    I assume you want to provide one or more API jars containing interfaces as well as one or more implementation jars. To achieve that, you might create one project or subproject per jar and set the visibility accordingly (that’s one reason Maven has the one-artifact-per-project rule).

    Alternatively, you could manage visibility based on package names, for which some convention comes in handy, e.g. all *.impl.* packages should not be visible to *.api.* packages etc.

    As for the third party dependencies: if you modify them, then you shouldn’t automatically update to a new version. This will almost always result in problems. If you really have to modify third party code, then put it into your own source folders and repositories and don’t link the binary jars they provide.

    Alternatively, you could manage dependency versions using dependency managers like Maven or Apache Ivy.

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

Sidebar

Related Questions

I have a simple application using netbeans for developing and maven for building et
I'm building a .NET 3.5 application and have the need to evaluate JS code
I am building a web application that is dependent upon several third-party libraries. What
I'm building a Zend-based Web app that will permit third-party extensions. Essentially, this application's
I am building an application using Raphaël. I have done my work on vectors,
I am building a WPF application in C# using VS2010 I have a listview
I am building an application using cakePHP. Do we have a method where we
I'm currently building an application using Sencha Touch. We have a certain Carousel on
I have an application that I am building and the user eveuntually gets redirected
I am using SFML, and I am building an application in Code::Blocks and mingw32.

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.