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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T07:28:41+00:00 2026-06-17T07:28:41+00:00

The folder structure of my application doesn’t resemble a WAR file. Configuration files like

  • 0

The folder structure of my application doesn’t resemble a WAR file. Configuration files like web.xml are in a configuration folder, message bundle/resource files are in a resources folder, resource files stored as UTF-8, etc.. An Ant build is used to generate a correctly structured WAR.

Currently, an in-container testing framework (Cactus) is being used; however, this framework is no longer being maintained.

Are there out of container testing frameworks that can explode a WAR, instead of requiring that the folder structure of the source code match that of a WAR? If the framework supported mapping of actual location of files to their future WAR location, that would also be fine.

Are there in-container testing frameworks that are still maintained?

  • 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-17T07:28:43+00:00Added an answer on June 17, 2026 at 7:28 am

    The options are limited. There are some other frameworks that do something similar. MockRunner is discontinued as well. Spring Mock might be an option but it’s missing some features (if you need HTTP request forwarding, you’ll have to extend some classes).

    I had some success with Jetty since it’s easy to start Jetty embedded from a test case but of course, that will really start your application as if it was really deployed which might not be what you want.

    Which is why I usually try to write code that doesn’t contain any dependencies to Java EE types. This way, I can test everything in any way I like.

    The CI server then has a single (slow) test which it runs once in a while that deploys the whole application (including wiping the database and filling it with clean test data) and does some simple UI operations (log in, browse some pages).

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

Sidebar

Related Questions

the folder structure is like this: plugin->upload->php->files list-> 'script_url' => $this->getFullUrl().'/'.basename(__FILE__), //'upload_dir' => dirname(__FILE__).'/files/',
I have a folder structure that I would like to have in my bundle.
I'm using: Tomcat 6.0.30 Here's my context.xml and web.xml structure in my web application
My application displays a folder structure in a tree. The user can browse the
My folder structure is like - root admin create_page.php pages my_page1.php my_page2.php I have
I have the following folder structure /project /scrape item.py /spiders myscraper.py inside the file
I have folder structure and I would like to create JSON objects based on
I have a folder structure like this: /some_folder /tmp /tmp/foo /tmp/foo/fu * /tmp/bar /tmp/bar/bah
I have a folder structure like this: /articles .index.php .second.php .third.php .fourth.php If I'm
Given a folder structure: parentFolder - ChildFolder1 - somefiletolookfor.txt - (other files and folder)

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.