نمایش پست تنها
  #1  
قدیمی 01-19-2014
کارگر سایت آواتار ها
کارگر سایت کارگر سایت آنلاین نیست.
ادمین در لباس کارگر!
 
تاریخ عضویت: Aug 2007
محل سکونت: کرمانشاه
نوشته ها: 1,444
سپاسها: : 907

4,878 سپاس در 836 نوشته ایشان در یکماه اخیر
کارگر سایت به Yahoo ارسال پیام
جدید کاربرد و معنا What is DTO design pattern in Java? در برنامه نویسی و کامپیوتر چیست؟

توضیح در باره What is DTO design pattern in Java?
کاربرد و معنای آن در چه حوزه ای است؟


Java is a popular computer programming tool or language because of its object-oriented capabilities and features. Much of this computer programming language is class-based and does not require so much dependency in terms of program implementation. As many people would call this language, Java is very useful and easy to implement because of the WORA acronym which means “write once run anywhere”. This simply means that using Java as a programming language allows for programmers and application developers to write the code only once and have it run across different platforms. One of Java’s design and architecture features is called DTO or data transfer object design pattern. Through this design architecture, the object involved is designed to carry various data while handling different processes. This design pattern is said to make remote interfacing faster and more cost-efficient.


The DTO design allows for data to be transferred or pass on containing as many attributes as possible in just a single shot or response. Under typical circumstances, data transfer between the client side and the server side takes at least two routes before the action or task is actually completed. The first route is taken when the command is initiated by the client and reaches the server. The second route becomes necessary as the server will communicate again with the client to provide the necessary data. Through the Data Transfer Object design that is possible in the Java platform, only one route is required as the object in itself will be able to carry multiple attributes to complete the intended programming task.
The remote interfacing between the server and client sides of a network or web service for example will basically result to a more expensive data transfer operations. An actual data call for example needs to make the whole system loop between client and server causing the system to transfer data longer and eventually costing more. To effectively reduce the number of calls or data requests, programmers may opt to use an object through the DTO design so that data may be consolidated into a single data call or request.Similar Posts:
پاسخ با نقل قول
جای تبلیغات شما اینجا خالیست با ما تماس بگیرید