Software Alternatives, Accelerators & Startups

Apache Struts VS Buck

Compare Apache Struts VS Buck and see what are their differences

Note: These products don't have any matching categories. If you think this is a mistake, please edit the details of one of the products and suggest appropriate categories.

Apache Struts logo Apache Struts

Apache Struts is an open-source web application framework for developing Java EE web applications.

Buck logo Buck

A high-performance build tool for Android by Facebook
  • Apache Struts Landing page
    Landing page //
    2022-04-27
  • Buck Landing page
    Landing page //
    2022-03-29

Apache Struts features and specs

  • Robust Framework
    Apache Struts is a mature and well-established framework for Java web applications, providing stable and reliable tools for enterprise-level applications.
  • MVC Architecture
    Struts adheres to the Model-View-Controller (MVC) design pattern, which separates business logic, presentation, and navigation, making code maintenance and development easier.
  • Extensive Documentation
    Struts has comprehensive documentation and a wealth of online resources, including tutorials, community forums, and user guides, which can support developers throughout their projects.
  • Rich Tag Library
    It comes with a rich set of custom tags that enhance the JSP (JavaServer Pages) to create dynamic web content easily.
  • Plugin Support
    Apache Struts supports various plugins that can extend its functionality, allowing developers to integrate additional features without much effort.

Possible disadvantages of Apache Struts

  • Steep Learning Curve
    New developers might find Struts challenging to learn due to its complexity and the need for a good understanding of the MVC architecture and Java web application development.
  • Configuration Overhead
    The framework requires extensive XML configuration, which can be cumbersome and time-consuming compared to convention-over-configuration frameworks.
  • Performance
    Struts can be slower than some newer, lighter frameworks due to its broader feature set and the overhead associated with its extensive configuration.
  • Security Vulnerabilities
    Struts has had notable security vulnerabilities in the past. Although patches and updates are available, it necessitates proactive monitoring and maintenance.
  • Outdated Compared to Modern Frameworks
    With the advent of modern frameworks like Spring MVC and JavaServer Faces, some developers consider Struts to be less up-to-date with the latest web development standards and practices.

Buck features and specs

  • Speed
    Buck's advanced dependency graph management allows for fast incremental builds, which can significantly reduce build times compared to other build tools.
  • Deterministic Builds
    Buck ensures that the same input will always produce the same output, which enhances the reliability and consistency across different environments.
  • Reproducibility
    With Buck, you can build the same output from the same source code, ensuring greater confidence in the software you are shipping.
  • Fine-Grained Build Targets
    Buck offers fine-grained control over build rules, which can lead to more efficient builds by minimizing the amount of work needed when small changes are made.
  • Multi-Language Support
    Buck supports multiple programming languages and platforms, making it versatile for diverse project environments.
  • Remote Build Execution
    Buck supports remote build execution, which can speed up the build process by offloading tasks to more powerful servers or distributed environments.

Possible disadvantages of Buck

  • Steep Learning Curve
    The complexity and variety of features in Buck can make it difficult for new users to learn and adopt, especially for those accustomed to simpler build systems.
  • Sparse Documentation
    While there is some documentation available, it can be sparse, and users might struggle to find examples or community support for advanced usage.
  • Limited Ecosystem
    Compared to more established build tools like Maven or Gradle, Buck has a smaller ecosystem of plugins and extensions, which might limit its adaptability for certain projects.
  • Metadata Overhead
    Buck requires the maintenance of a considerable amount of metadata and configuration files, which can increase the complexity of managing large projects.
  • Configuration Complexity
    Setting up Buck and configuring build rules can be complex and time-consuming, requiring a deep understanding of the tool and its intricacies.

Analysis of Apache Struts

Overall verdict

  • Apache Struts is a robust framework, suitable for building Java-based web applications, but it's crucial to stay vigilant regarding security updates.

Why this product is good

  • Apache Struts is known for its MVC framework, which is useful for creating well-structured and maintainable Java applications. It provides a range of comprehensive features like a flexible tag library, integration with other Java frameworks, and a strong support community. However, it has faced some high-profile security vulnerabilities in the past, underscoring the importance of keeping the framework timely updated.

Recommended for

  • Organizations developing enterprise-level Java applications
  • Developers familiar with Java and looking for a robust MVC framework
  • Teams interested in integrating their web applications with other Java technologies

Analysis of Buck

Overall verdict

  • Buck is considered a good build system, especially for certain scenarios.

Why this product is good

  • Buck was developed by Facebook (now Meta) and is designed to handle large codebases efficiently.
  • It utilizes a build graph to minimize unnecessary recompilation, which can significantly speed up build times.
  • Supports parallel builds, allowing multiple tasks to be run concurrently, which is ideal for leveraging multi-core processors.
  • Highly configurable and supports incremental builds, improving the speed of the development cycle by compiling only changed files.
  • Open source, which allows the community to contribute to its development and adapt it for various needs.

Recommended for

  • Large-scale projects where build time is a critical factor.
  • Development teams familiar with or already using similar build systems like Bazel.
  • Projects that require a high degree of configurability and custom build rules.
  • Organizations looking for an open-source solution with an active community and ongoing support.

Apache Struts videos

Finding and Fixing Apache Struts CVE-2017-5638 with Black Duck Hub

More videos:

  • Review - Apache Struts 2 - remote command execution
  • Review - Dark ambient drone music | Vulnerable Apache Struts installation under attack (Java, Jakarta)

Buck videos

Buck HONEST Operator Review | Rainbow Six Siege

More videos:

  • Review - Unbreakable Pocket Knife Destruction Test - Buck 110 review
  • Review - Buck 110 review after carrying for 9 years

Category Popularity

0-100% (relative to Apache Struts and Buck)
Developer Tools
100 100%
0% 0
Front End Package Manager
Web Frameworks
100 100%
0% 0
Development
0 0%
100% 100

User comments

Share your experience with using Apache Struts and Buck. For example, how are they different and which one is better?
Log in or Post with

Reviews

These are some of the external sources and on-site user reviews we've used to compare Apache Struts and Buck

Apache Struts Reviews

17 Popular Java Frameworks for 2023: Pros, cons, and more
You can integrate Struts with other Java frameworks to perform tasks that arenโ€™t built into the platform. For instance, you can use the Spring plugin for dependency injection or the Hibernate plugin for object-relational mapping. Struts also allows you to use different client-side technologies such as Jakarta Server Pages to build the frontend of your application.
Source: raygun.com
10 Best Java Frameworks You Should Know
Followed by Struts Framework, the next leading framework currently being used in the IT industry is the Wicket.

Buck Reviews

We have no reviews of Buck yet.
Be the first one to post

Social recommendations and mentions

Based on our record, Buck should be more popular than Apache Struts. It has been mentiond 9 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Apache Struts mentions (2)

Buck mentions (9)

  • How to effectively work in big codebases
    Many big companies have built their own tools to reign in this complexity and make it easier and faster for developers to work on large, multi-language code bases. Meta has buck, Amazon has brazil, and Google has bazel. But from my experience, especially, with brazil, these tools also have some rough edges, so understanding how they work can go a long way. - Source: dev.to / almost 2 years ago
  • Compiling a single-file app with csc.dll
    We use Buck company wide. Our packaging / deployment system, for example, expects to be given a Buck target to build, not a pre-built binary - I canโ€™t just build my app with dotnet and upload it. While it is possible for a Buck target to be a simple bash command (i.e dotnet publish), doing so makes the target โ€œopaqueโ€ - Buck wouldnโ€™t have any knowledge of my appโ€™s build graph so Iโ€™d lose many of the benefits it... Source: about 3 years ago
  • Just: A Command Runner
    Oh excellent, then better (and more portable!) tools are available: http://pants.build https://ninja-build.org https://buck.build and, if you hate yourself: https://bazel.build. - Source: Hacker News / over 3 years ago
  • Dev Discussions: Everything You Need to Know about Monorepos with Juri Strumpflohner of Nrwl
    Pioneered by tech giants like Google and Meta with tools like Bazel and Buck, monorepos are seeing widespread adoption across companies of all sizes and industries. - Source: dev.to / about 4 years ago
  • Using URLs for dependency management
    Buck has a http_file() that you can use this way, and it has first-class support for Java. Source: about 4 years ago
View more

What are some alternatives?

When comparing Apache Struts and Buck, you can also consider the following products

Spring Framework - The Spring Framework provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform.

GNU Make - GNU Make is a tool which controls the generation of executables and other non-source files of a program from the program's source files.

Grails - An Open Source, full stack, web application framework for the JVM

npm - npm is a package manager for Node.

Spark Mail - Spark helps you take your inbox under control. Instantly see whatโ€™s important and quickly clean up the rest. Spark for Teams allows you to create, discuss, and share email with your colleagues

SCons - SCons is an Open Source software construction toolโ€”that is, a next-generation build tool.