API Design: Don’t expose your JPA entities in your REST API

API Design: Don’t expose your JPA entities in your REST API

22.015 Lượt nghe
API Design: Don’t expose your JPA entities in your REST API
Should you expose your entities in your REST API? or should you prefer to serialize and deserialize DTO classes? That’s one of the most commonly asked questions when I’m talking to developers or when I’m coaching teams who are working on a new application. In this video I will show you how you can create a robust API design by not exposing your entities in your API. If you like this video, please give me your thumbs up and share it with your friends and co-workers. Like my channel? Subscribe! ➜ http://bit.ly/2cUsid8 Join the free Member Library: https://goo.gl/dtyIIC Read the accompanying post: https://thoughts-on-java.org/dont-expose-entities-in-api/ Want to connect with me? Blog: http://www.thoughts-on-java.org/ Twitter: https://twitter.com/thjanssen123 Facebook: https://www.facebook.com/thoughtsonjava Instagram: https://www.instagram.com/thoughtsonjava/ #API #JPA #RestAPI