Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

What are the examples of Proxy design pattern in JDK?

Pragya Keshap answered on February 10, 2023 Popularity 3/10 Helpfulness 1/10

Contents


More Related Answers

  • Creating a Proxy Object
  • Spring boot restemplate specify proxy server
  • What are the different scenarios for using Proxy design pattern?
  • What is a Proxy Design Pattern?
  • How to create js proxy
  • proxy api javascript set
  • proxy design pattern
  • What is the difference between Decorator and Proxy patterns in Java?
  • Describe Proxy Design Pattern. Where we can find already implemented Proxy Design Pattern in Spring?
  • 16. What is the Proxy design pattern and how is it used in Java?

  • What are the examples of Proxy design pattern in JDK?

    0

    Proxy design pattern provides an extra level of indirection for

    providing access to another object. It can also protect a real object

    from any extra level of complexity.

    In JDK there are many places where Proxy design pattern is used.

    Some of these are as follows:

    java.lang.reflect.Proxy

    java.rmi.*

    javax.inject.Inject

    javax.ejb.EJB

    javax.persistence.PersistenceContext

    https://refactoring.guru/design-patterns/proxy/java/example

    Popularity 3/10 Helpfulness 1/10 Language java
    Source: Grepper
    Tags: java proxy
    Link to this answer
    Share Copy Link
    Contributed on Feb 10 2023
    Pragya Keshap
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.