Dozer Mapping

RodneyEberly

Note from the editor:   This post was made on 08/31 but we did not see it pending until now.  The post is valid for the 08.2011 Great Tech Blog-Off Contest.

If anyone of you programs in Java, I suggest you check out Dozer. http://dozer.sourceforge.net/
It is a Java bean mapper that copies one Java bean’s data to another bean. We have been using it in production at work for over a year, and have been very pleased with it. We store our data in xml, and use Castor (another very useful tool) to create a Java bean representation of the xml, based off of a schema. However, our site has its own web beans, so we needed a way to map the data back and forth between the Castor beans and the web beans.

Dozer is a powerful tool for programming the mapping back and forth very quickly. We have been using the Dozer’s XML mapping. Basically you define the two objects to map between in your mapping xml file, and then define the desired field to field mapping. The mapping file is bidirectional, so you only have to define everything once.

There are many nice features available. If the field name (ie. first name) is the same in both the source bean and destination bean, you don’t even need to specify it. Dozer will automatically take care of it. If that specific mapping is not desired, you can always exclude. It is bi-directional by default, but you can also specify one-way mapping only, if needed. It will automatically map collections, arrays, primitives to primitives, Strings to primitives, and many more. You can specify field mappings that are multiple levels deep. If you need more elaborate mapping, (ie. manipulating data, calculations, etc.), you can always specify your own custom mapper (java class file).

So if you stuck through this article, followed it, and program (not drink) Java, check Dozer out!

January 20, 2026
Modern construction and manufacturing sites are no longer just about heavy machinery; they’re digital ecosystems. Tablets, laptops, IoT sensors, and mobile apps are now essential for everything from blueprint access to production monitoring. These tools enable real-time collaboration, safety compliance, and operational efficiency. But when your workforce is spread across remote job sites or large facilities, keeping these systems connected and secure becomes a challenge. Construction Blueprint & Plan Access: Crews use tablets to view updated plans on-site, reducing errors and rework. Safety & Compliance Reporting: Mobile apps allow instant incident reporting and safety checks. Equipment Tracking: IoT sensors monitor heavy machinery usage and maintenance needs. Manufacturing Production Line Monitoring: Tablets and IoT devices track throughput and detect anomalies. Quality Control: Mobile devices capture and share inspection data in real time. Inventory Management: Connected devices streamline material tracking and reduce downtime. These tools keep projects moving, but only if they’re secure, updated, and accessible anywhere. Why Remote Access Is Critical Construction sites and manufacturing plants often operate in remote or rugged environments. Workers need secure, reliable access to company systems, whether they’re in the field, on the shop floor, or traveling between sites. Without proper management, connectivity issues and security gaps can lead to delays, data breaches, and compliance failures. How a Managed IT Services Partner Helps You Win Partnering with a Managed IT Services provider lik e Eberly Systems ensures: Centralized Device Management: Configure, update, and secure all devices remotely using Microsoft Intune. Enterprise-Grade Security: Microsoft Defender protects against threats across IT and OT environments. Identity & Access Control: Microsoft Entra ID enables MFA and conditional access for subcontractors and BYOD scenarios. 24/7 Monitoring & Support: Proactive threat detection and performance monitoring keep operations running smoothly. Scalable Solutions: Whether you have 50 devices or 500, policies and updates roll out automatically. This means your teams can access critical tools and data securely anytime, anywhere, without worrying about downtime or cyber risks. Construction and manufacturing thrive on precision and speed. Technology makes that possible, but only when it’s managed effectively. A trusted Managed IT Services partner doesn’t just keep devices secure, it keeps your business moving, your workforce connected, and your data protected. Ready to empower your teams and safeguard your operations? Contact Eberly Systems today for a free consultation.
By Guest Blogger December 9, 2025
Why Device Management Is Critical
November 4, 2025
Why Cybersecurity Hygiene Matters for SMBs
October 28, 2025
Why Leading with AI Matters for Small and Medium-Sized Businesses
October 10, 2025
Fake CAPTCHA Sites Hijack Clipboard to Install Malware
October 10, 2025
Understanding Business Email Compromise (BEC)
By Kordel Eberly August 17, 2025
Welcome to the Cyber Cold War
fish hook
By Eberly Systems September 20, 2024
We're all in the same boat trying to avoid cybercrime! Here's our top ways to identify a potential phishing attempt.
By Eberly Systems September 10, 2024
Focus on integrating with new team members and new customers