{"id":75830,"date":"2023-12-13T11:15:27","date_gmt":"2023-12-13T05:45:27","guid":{"rendered":"https:\/\/cloudfoundation.com\/blog\/?p=75830"},"modified":"2024-03-18T12:54:59","modified_gmt":"2024-03-18T07:24:59","slug":"ejb-interview-questions","status":"publish","type":"post","link":"https:\/\/cloudfoundation.com\/blog\/ejb-interview-questions\/","title":{"rendered":"EJB Interview Questions"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;3.22&#8243;][et_pb_row _builder_version=&#8221;3.25&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_post_title meta=&#8221;off&#8221; featured_image=&#8221;off&#8221; _builder_version=&#8221;4.9.7&#8243; title_font=&#8221;Times New Roman||||||||&#8221; title_text_align=&#8221;left&#8221; title_text_color=&#8221;rgba(0,0,0,0.8)&#8221; title_font_size=&#8221;47&#8243; custom_margin=&#8221;|||10%&#8221; title_font_size_tablet=&#8221;40&#8243; title_font_size_phone=&#8221;35&#8243; title_font_size_last_edited=&#8221;on|desktop&#8221;][\/et_pb_post_title][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;3.25&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text _builder_version=&#8221;4.9.7&#8243; text_font=&#8221;Georgia|300|||||||&#8221; text_text_color=&#8221;rgba(0,0,0,0.8)&#8221; text_font_size=&#8221;22px&#8221; text_line_height=&#8221;1.9em&#8221; header_font=&#8221;Georgia||||||||&#8221; header_font_size=&#8221;22px&#8221; header_line_height=&#8221;1.9em&#8221; max_width=&#8221;800px&#8221; max_width_last_edited=&#8221;off|phone&#8221; custom_margin=&#8221;|||10%&#8221; custom_margin_last_edited=&#8221;off|desktop&#8221; hover_enabled=&#8221;0&#8243; text_font_size_tablet=&#8221;&#8221; text_font_size_phone=&#8221;&#8221; text_font_size_last_edited=&#8221;on|phone&#8221; text_line_height_last_edited=&#8221;off|phone&#8221; sticky_enabled=&#8221;0&#8243;]Enterprise Java Beans (EJBs) Interview Questions blogis integral to the Java EE platform for building complex, distributed applications at scale.<\/p>\n<p>EJB is especially vital to component-based designs, facilitating easy reuse, maintainability, and system integration.<\/p>\n<p>Thus, Java developers working on corporate apps must possess an in-depth knowledge of EJB fundamentals to answer interview questions confidently.<\/p>\n<p>This blog article covers some key EJB topics with interview questions and their answers.<\/p>\n<p>These questions assess your knowledge of EJB technology, its components and architectural patterns for business applications using Java Beans (EJB).<\/p>\n<p>You&#8217;ll come out ahead by answering them carefully before an interview and reviewing this material. Plus, you will gain more insights into the applications of EJB technology!<\/p>\n<p><strong><img decoding=\"async\" class=\"size-medium aligncenter\" src=\"https:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2023\/12\/EJB-Interview-Questions-1.jpg\" alt=\"\" width=\"800\" height=\"448\"><\/strong><\/p>\n<p><strong>1. What is an Enterprise Java Bean (EJB)?<\/strong><br \/>\nAn EJB is an Enterprise Java Bean that handles business logic and data transformation.<\/p>\n<p><strong>2. How are staple beans created, and what are they used for?<\/strong><\/p>\n<p>Staple beans are created every time a JDI lookup or dependency injection is performed.<\/p>\n<p>They ensure that the same bean instance is provided throughout the application.<\/p>\n<p><strong>3. How are Singleton beans generally created, and what loading strategies can the container adopt?<\/strong><\/p>\n<p>Singleton beans are generally created by the container at application load.<\/p>\n<p>The container can adopt an eager or lazy load strategy for singleton beans.<\/p>\n<p><strong>4. What happens when the container destroys a bean, and why is this process necessary?<\/strong><\/p>\n<p>When a bean is destroyed, the container will create a new instance from scratch.<\/p>\n<p>This is important because developers should clean up after themselves, even though there is a garbage collection mechanism behind the scenes.<\/p>\n<p><strong>5. How do stateless and stateful beans differ regarding lifecycle and mapping?<\/strong><\/p>\n<p>Stateless beans do not maintain a state between method calls and are shared across multiple sites.<\/p>\n<p>Stateful beans maintain a condition between method calls and always have a one-to-one mapping, with one bean per instance.<\/p>\n<p><strong>6. What are the two primary lifecycle transitions a stateful bean goes through, and why are they important?<\/strong><\/p>\n<p>A stateful bean goes through two primary lifecycle transitions: post-construct and destroy.<\/p>\n<p>They are essential because they allow the bean to perform necessary actions before and after executing the business methods.<\/p>\n<p><strong>7. When is the post-construct method invoked in the lifecycle of a stateful bean, and why is it important?<\/strong><\/p>\n<p>The post-construct method is invoked after the constructor completes, assuming no exceptions were generated.<\/p>\n<p>It is essential because it allows the bean to perform necessary actions before executing business methods, such as initialising resources and dependencies.<\/p>\n<p><strong>8. What is the purpose of the specific method created in the EJB2.x world?<\/strong><\/p>\n<p>The specific method created in the EJB2.x world was to implement a naming convention starting with the three letters EJB, all lowercase letters and then the fourth letter uppercase.<\/p>\n<p>However, this made the model brittle as there was no interface to implement for compile-time checks physically.<\/p>\n<p><strong>9. What is the purpose of the idea in EJB3.0?<\/strong><\/p>\n<p>The idea in EJB3.0 was to move everything to annotations or as much as possible to annotations.<\/p>\n<p>Method signatures could be public, private, or protected.<\/p>\n<p><strong>10. What is the purpose of creating a public method?<\/strong><\/p>\n<p>Creating a public method is a dual-purpose method.<\/p>\n<p>The container can use the method as a callback and perform business operations.<\/p>\n<p>For example, the singleton beam has two methods that function as lifecycle callbacks.<\/p>\n<p><strong>11. What are the names of the two methods that function as lifecycle callbacks in the singleton beam?<\/strong><\/p>\n<p>The two methods that function as lifecycle callbacks in the singleton beam are Post-construct<strong>.<\/strong><\/p>\n<p><strong>12. What is the access modifier of these two methods?<\/strong><\/p>\n<p>The access modifier of these two methods is denoted as private.<\/p>\n<p><strong>13. What is the purpose of the pre-destroy annotation?<\/strong><\/p>\n<p>The container notifies the shaft before an application is unloaded through the destroy annotation.<\/p>\n<p>It is essential to ensure the code is robust enough not to throw an exception, as having both would make no sense.<\/p>\n<p>Instead, define a local interface and tag an interface with local when implementing the bean.<\/p>\n<p>Some inheriting, some remote, some local, all inherit the same interface.<\/p>\n<p><strong>14. What is the purpose of defining a local interface and tagging an interface with local when implementing the bean?<\/strong><\/p>\n<p>Defining a local interface and tagging an interface with local when implementing the bean is essential to ensure the code is robust enough not to throw an exception.<\/p>\n<p>This approach allows developers to define a set of methods the bean must implement, providing consistency across all beans that implement the same interface.<\/p>\n<p><strong>15. What is the purpose of the lifecycle in EJB beans?<\/strong><\/p>\n<p>The lifecycle in EJB beans involves understanding how a bean transitions from its existence through the destruction phase and how developers can get notifications from the container as it goes through those transitions.<\/p>\n<p><strong>16. What are the three types of beans in the EJB world?<\/strong><\/p>\n<p>The three types of beans in the EJB world are stateless, stateful, and singleton.<\/p>\n<p><strong>17. What is the difference between an eager and lazy load strategy for singleton beans?<\/strong><\/p>\n<p>An eager load strategy creates the singletons directly on application initialisation, while a lazy load strategy determines when to build the singleton based on run time.[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row column_structure=&#8221;1_3,1_3,1_3&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; background_color=&#8221;#064399&#8243; use_background_color_gradient=&#8221;on&#8221; background_color_gradient_start=&#8221;#0095f2&#8243; background_color_gradient_end=&#8221;#7dbed8&#8243; background_color_gradient_direction=&#8221;92deg&#8221; background_color_gradient_start_position=&#8221;35%&#8221; background_color_gradient_end_position=&#8221;80%&#8221; transform_scale=&#8221;73%|62%&#8221; transform_scale_linked=&#8221;off&#8221; transform_translate=&#8221;-53px|-50px&#8221; transform_translate_linked=&#8221;off&#8221; link_option_url=&#8221;https:\/\/cloudfoundation.com\/blog\/interview-questions\/&#8221; link_option_url_new_window=&#8221;on&#8221;][et_pb_column type=&#8221;1_3&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;][et_pb_image src=&#8221;https:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2023\/06\/SS_436-_Converted_-1.png&#8221; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; transform_scale=&#8221;114%|112%&#8221; transform_scale_linked=&#8221;off&#8221; transform_translate=&#8221;25px|-4px&#8221; transform_translate_linked=&#8221;off&#8221; width=&#8221;98.1%&#8221; custom_margin=&#8221;|7px|||false|false&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;][\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;1_3&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;][et_pb_text _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; text_font=&#8221;Georgia|700|||||||&#8221; text_font_size=&#8221;23px&#8221; text_line_height=&#8221;1.3em&#8221; header_font=&#8221;Georgia|700|||||||&#8221; header_font_size=&#8221;21px&#8221; header_letter_spacing=&#8221;-1px&#8221; header_line_height=&#8221;2em&#8221; transform_scale=&#8221;171%|159%&#8221; transform_scale_linked=&#8221;off&#8221; transform_translate=&#8221;40px|44px&#8221; transform_translate_linked=&#8221;off&#8221; transform_origin=&#8221;70%|50%&#8221; z_index=&#8221;-161&#8243; width=&#8221;100%&#8221; custom_margin=&#8221;|-215px||||&#8221; custom_padding=&#8221;|0px||||&#8221; link_option_url=&#8221;https:\/\/cloudfoundation.com\/sap-analytics-cloud-training\/&#8221;]<\/p>\n<h1 style=\"text-align: center;\"><span style=\"color: #ffffff;\">EJB Training<\/span><\/h1>\n<p>[\/et_pb_text][et_pb_button button_url=&#8221;https:\/\/cloudfoundation.com\/blog\/interview-questions\/&#8221; url_new_window=&#8221;on&#8221; button_text=&#8221;Explore Course Content&#8221; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; custom_button=&#8221;on&#8221; button_text_color=&#8221;#0C71C3&#8243; button_bg_color=&#8221;#FFFFFF&#8221; button_font=&#8221;|700|||||||&#8221; transform_translate=&#8221;64px|65px&#8221; transform_translate_linked=&#8221;off&#8221;][\/et_pb_button][\/et_pb_column][et_pb_column type=&#8221;1_3&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;][et_pb_image src=&#8221;https:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2019\/06\/logo_resize_color.png&#8221; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; transform_translate=&#8221;-36px|0px&#8221; transform_translate_linked=&#8221;off&#8221; custom_margin=&#8221;|||178px||&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;][\/et_pb_image][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; custom_padding=&#8221;|||2px||&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;][et_pb_text _builder_version=&#8221;4.9.7&#8243; text_font=&#8221;Georgia|300|||||||&#8221; text_text_color=&#8221;rgba(0,0,0,0.8)&#8221; text_font_size=&#8221;22px&#8221; text_line_height=&#8221;1.9em&#8221; header_font=&#8221;Georgia||||||||&#8221; header_font_size=&#8221;22px&#8221; header_line_height=&#8221;1.9em&#8221; max_width=&#8221;800px&#8221; max_width_last_edited=&#8221;off|phone&#8221; custom_margin=&#8221;|||10%&#8221; custom_margin_last_edited=&#8221;off|desktop&#8221; text_font_size_tablet=&#8221;&#8221; text_font_size_phone=&#8221;&#8221; text_font_size_last_edited=&#8221;on|phone&#8221; text_line_height_last_edited=&#8221;off|phone&#8221;]<strong>18. What should developers do during the initialisation process before demolition?<\/strong><\/p>\n<p>Developers should de-initialize their initialisations during the initialisation process before demolition.<\/p>\n<p><strong>19. What are the two primary lifecycle transitions for the stateless bean?<\/strong><\/p>\n<p>The two primary lifecycle transitions for the stateless bean are post-construct and destroy.<\/p>\n<p><strong>20. What is the purpose of the destroy method in the stateless bean?<\/strong><\/p>\n<p>The destroy method is invoked before the object is destroyed or the finalised plan is executed.<\/p>\n<p><strong>21. What is the purpose of the pre-passivate and step methods in the stateless bean?<\/strong><\/p>\n<p>The steps methods are used to support load by reusing things.<\/p>\n<p><strong>22. How can developers physically tell the container when to remove an instance of a stateless bean?<\/strong><\/p>\n<p>Developers can physically tell the container when to remove an instance of a stateless bean by annotating a method with the remove annotation.<\/p>\n<p><strong>23. What are the three types of state charts in the EJB world?<\/strong><\/p>\n<p>The EJB world&#8217;s three types of state charts are stateful, stateless, and singleton.<\/p>\n<p><strong>24. What was the issue with the naming convention used in the EJB2.x world?<\/strong><\/p>\n<p>In the EJB2.x world, a specific method was created with a naming convention that started with the three letters EJB, all lowercase, and then the fourth letter uppercase.<\/p>\n<p>However, this made the model brittle as there was no interface to implement for compile-time checks physically.<\/p>\n<p><strong>25. How was the idea implemented in EJB3.0?<\/strong><\/p>\n<p>In EJB3.0, the idea was to move everything to annotations or as much as possible.<\/p>\n<p>This allowed for using any method signature and name, whether public, private, or protected.<\/p>\n<p><strong>26. What is the purpose of the post-construct method in the singleton bean?<\/strong><\/p>\n<p>The post-construct method creates an instance variable, and calls add through the divide.<\/p>\n<p><strong>27. What is the purpose of the destroy method in the singleton bean?<\/strong><\/p>\n<p>The destroy method is invoked before the application is unloaded.<\/p>\n<p><strong>28. What is the purpose of stacking multiple annotations?<\/strong><\/p>\n<p>Stacking multiple annotations allows for adding various lifecycle callback annotations to a single method without requiring a one-to-one relationship.<\/p>\n<p><strong>29. What are message-driven beans?<\/strong><\/p>\n<p>Message-driven beans are used to create reusable workflows in programming.<\/p>\n<p><strong>30. How are EJB Stateless Beans managed and shared across multiple sites?<\/strong><\/p>\n<p>EJB Stateless beans are shared across multiple sites, and the container will create a stateless bean if it doesn&#8217;t exist.<\/p>\n<p>The container may create a secondary bean if threaded access is an issue.<\/p>\n<p><strong>31. How do business rules fit into an n-layer architecture?<\/strong><\/p>\n<p>Business rules are implemented in the orange layer of an n-layer architecture, which is responsible for handling and executing business logic or rules.<\/p>\n<p><strong>32. What are design-by-contract technologies?<\/strong><\/p>\n<p>Design-by-contract technologies are used in the orange layer of an n-layer architecture to execute business logic or rules.<\/p>\n<p>They involve using interfaces to define the behaviour of the business logic.<\/p>\n<p><strong>33. What is a business object?<\/strong><\/p>\n<p>A business object is a Java Bean with properties and methods, such as adding an item to a cart or discussing the capacity and price of the cart, and is used in the business area.<\/p>\n<p><strong>34. How do Java Beans help businesses handle and execute business logic and rules?<\/strong><\/p>\n<p>Java Beans helps businesses handle and execute business logic and rules by incorporating design-by-contract technologies and interfaces, which create a consistent decision-making process and adhere to legal requirements and capacities.[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row column_structure=&#8221;1_3,1_3,1_3&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; background_color=&#8221;#064399&#8243; use_background_color_gradient=&#8221;on&#8221; background_color_gradient_start=&#8221;#ff8c7c&#8221; background_color_gradient_end=&#8221;#e5ba4e&#8221; background_color_gradient_type=&#8221;radial&#8221; background_color_gradient_direction_radial=&#8221;top left&#8221; background_color_gradient_start_position=&#8221;35%&#8221; background_color_gradient_end_position=&#8221;80%&#8221; transform_scale=&#8221;74%|69%&#8221; transform_scale_linked=&#8221;off&#8221; transform_translate=&#8221;-53px|-50px&#8221; transform_translate_linked=&#8221;off&#8221; custom_margin=&#8221;||-5px||false|false&#8221; custom_padding=&#8221;|||2px|false|false&#8221; link_option_url=&#8221;https:\/\/cloudfoundation.com\/blog\/interview-questions\/&#8221; link_option_url_new_window=&#8221;on&#8221;][et_pb_column type=&#8221;1_3&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;][et_pb_image src=&#8221;https:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2023\/06\/8423118_3895895.png&#8221; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; width=&#8221;85.4%&#8221; custom_margin=&#8221;-31px||-24px||false|false&#8221; custom_padding=&#8221;|22px|0px||false|false&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;][\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;1_3&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;][et_pb_text _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; text_font=&#8221;Georgia|700|||||||&#8221; text_font_size=&#8221;23px&#8221; text_line_height=&#8221;1.3em&#8221; header_font=&#8221;Georgia|700|||||||&#8221; header_font_size=&#8221;19px&#8221; header_letter_spacing=&#8221;-1px&#8221; header_line_height=&#8221;1.2em&#8221; transform_scale=&#8221;171%|159%&#8221; transform_scale_linked=&#8221;off&#8221; transform_translate=&#8221;40px|44px&#8221; transform_translate_linked=&#8221;off&#8221; transform_origin=&#8221;70%|50%&#8221; z_index=&#8221;-161&#8243; width=&#8221;100%&#8221; min_height=&#8221;26.8px&#8221; custom_margin=&#8221;|-215px||||&#8221; custom_padding=&#8221;|0px||||&#8221; link_option_url=&#8221;https:\/\/cloudfoundation.com\/sap-analytics-cloud-training\/&#8221;]<\/p>\n<h1 style=\"text-align: center;\"><span style=\"color: #000000;\">EJB Online Training<\/span><\/h1>\n<p>[\/et_pb_text][et_pb_button button_url=&#8221;https:\/\/cloudfoundation.com\/blog\/interview-questions\/&#8221; url_new_window=&#8221;on&#8221; button_text=&#8221;Up Coming Batches&#8221; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; custom_button=&#8221;on&#8221; button_text_color=&#8221;#E09900&#8243; button_bg_color=&#8221;#FFFFFF&#8221; button_font=&#8221;|700|||||||&#8221; transform_translate=&#8221;64px|65px&#8221; transform_translate_linked=&#8221;off&#8221; background_layout=&#8221;dark&#8221;][\/et_pb_button][\/et_pb_column][et_pb_column type=&#8221;1_3&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;][et_pb_image src=&#8221;https:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2019\/06\/logo_resize_color.png&#8221; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; transform_translate=&#8221;-36px|0px&#8221; transform_translate_linked=&#8221;off&#8221; custom_margin=&#8221;|||178px||&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;][\/et_pb_image][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;][et_pb_text _builder_version=&#8221;4.9.7&#8243; text_font=&#8221;Georgia|300|||||||&#8221; text_text_color=&#8221;rgba(0,0,0,0.8)&#8221; text_font_size=&#8221;22px&#8221; text_line_height=&#8221;1.9em&#8221; header_font=&#8221;Georgia||||||||&#8221; header_font_size=&#8221;22px&#8221; header_line_height=&#8221;1.9em&#8221; max_width=&#8221;800px&#8221; max_width_last_edited=&#8221;off|phone&#8221; custom_margin=&#8221;|||10%&#8221; custom_margin_last_edited=&#8221;off|desktop&#8221; hover_enabled=&#8221;0&#8243; text_font_size_tablet=&#8221;&#8221; text_font_size_phone=&#8221;&#8221; text_font_size_last_edited=&#8221;on|phone&#8221; text_line_height_last_edited=&#8221;off|phone&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<p><strong>35. What is the Enterprise Java Bean&#8217;s EJBs Purpose?&nbsp;<\/strong><\/p>\n<p>The EJB is the business logic of an application, which fulfils the purpose of the application and does not perform any data display or direct communication with the database.<\/p>\n<p><strong>36. What is the role of the container in an EJB?<\/strong><\/p>\n<p>The container is responsible for registering the object, providing remote interfaces, creating and destroying it as necessary, checking for security, and managing its state.<\/p>\n<p><strong>37. Which role of interfaces in Java?<\/strong><\/p>\n<p>Interfaces work in Java by providing a list of properties and methodsan object must implement.<\/p>\n<p><strong>38. What is the difference between a stateful, entity, and message-driven EJB?<\/strong><\/p>\n<p>Stateful beans maintain the state or information about the client across multiple requests, and entity beans represent the state of an object.<\/p>\n<p>They can be persisted in a database, and message-driven beans are triggered by messages and perform specific tasks.<\/p>\n<p><strong>Let us get into the important Multiple-choice questions on this platform!!!<\/strong><\/p>\n<p><strong>1. What happens when the EJB Stateless beans are shared across multiple sites?<\/strong><\/p>\n<p><em><strong>Creates a new stateless bean every time it is accessed\u2714\ufe0f<\/strong><\/em><br \/>\nReuses an existing stateless bean<br \/>\nCreates a secondary stateless bean if it can&#8217;t reuse the pre-existing bean<br \/>\nDestroys the stateless bean after it is accessed<\/p>\n<p><strong>2. What happens to Staple beans?<\/strong><\/p>\n<p><em><strong>They are created every time a JDI lookup or dependency injection is performed \u2714\ufe0f<\/strong><\/em><br \/>\nEnded after they are created<br \/>\nThey go through post-construct and destroy lifecycle transitions<br \/>\nThe container reuses them<\/p>\n<p><strong>3. What does EJB stand for?<\/strong><\/p>\n<p><em><strong>Enterprise Java Bean \u2714\ufe0f<\/strong><\/em><br \/>\nEnterprise Java Book<br \/>\nEnterprise Java Basic<br \/>\nEnterprise Java Byte<\/p>\n<p><strong>4. What is an Enterprise Java Bean?<\/strong><\/p>\n<p>A means of dividing EJB components into categories<br \/>\nA type of EJB that maintains the state for one client<br \/>\n<em><strong>A component used in enterprise applications \u2714\ufe0f<\/strong><\/em><br \/>\nA type of EJB that does not maintain a conversational state with the client<\/p>\n<p><strong>5. What is the only bean that goes through all five life cycle transitions?<\/strong><\/p>\n<p>Stateless<br \/>\nStaple<br \/>\nSingleton<br \/>\n<em><strong>Stateful \u2714\ufe0f<\/strong><\/em><\/p>\n<p><strong>6. When is the post-construct method invoked?<\/strong><\/p>\n<p><em><strong>After the constructor completes \u2714\ufe0f<\/strong><\/em><br \/>\nAfter the bean is destroyed<br \/>\nBefore the constructor is called<br \/>\nAfter the business methods are executed<\/p>\n<p><strong>7. Where is Enterprise Java Bean commonly used?<\/strong><\/p>\n<p>In web applications<br \/>\nIn desktop applications<br \/>\n<em><strong>In enterprise applications \u2714\ufe0f<\/strong><\/em><br \/>\nIn mobile applications<\/p>\n<p><img decoding=\"async\" class=\"size-medium aligncenter\" src=\"https:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2023\/12\/EJB-Interview-Questions.jpg\" alt=\"\" width=\"800\" height=\"448\"><\/p>\n<p><strong>8. Which of the following is an example of an Enterprise Java Bean?<\/strong><\/p>\n<p>JSP<br \/>\nServlet<br \/>\nEntity Bean<br \/>\n<em><strong>JDBC \u2714\ufe0f<\/strong><\/em><\/p>\n<p><strong>9. What is the purpose of Enterprise Java Bean?<\/strong><\/p>\n<p>To create, retrieve, update, and delete records in a database<br \/>\nTo maintain the state or information about the client across multiple requests<br \/>\nTo represent a single database table<br \/>\n<em><strong>To encapsulate the business logic of an application \u2714\ufe0f<\/strong><\/em><\/p>\n<p><strong>10. What is the purpose of the access modifier denoted as private in the text?<\/strong><\/p>\n<p>Make the methods visible to the caller<br \/>\nAllow the container to perform business operations on the methods<br \/>\n<em><strong>To make the methods hidden from the caller but still available to the container \u2714\ufe0f<\/strong><\/em><br \/>\nPrevent the methods from being called by the container<\/p>\n<p>The EJB Interview Questions blog offers an all-inclusive solution to successful discussions focusing on EJB containers, enterprise beans and component-based design.<\/p>\n<p>Java developers building corporate apps must understand these ideas to use EJB effectively, as this knowledge will assist with developing large-scale, distributed applications with scalability features.<\/p>\n<p>Our interview questions for EJB may help you learn this technology and navigate obstacles when developing such large apps.<\/p>\n<p>Thanks again, and have a fantastic day!!!!!<\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row column_structure=&#8221;1_3,1_3,1_3&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; background_color=&#8221;#064399&#8243; use_background_color_gradient=&#8221;on&#8221; background_color_gradient_start=&#8221;#494fff&#8221; background_color_gradient_end=&#8221;#9ea6ff&#8221; background_color_gradient_type=&#8221;radial&#8221; background_color_gradient_direction_radial=&#8221;top left&#8221; background_color_gradient_start_position=&#8221;35%&#8221; background_color_gradient_end_position=&#8221;80%&#8221; transform_scale=&#8221;74%|71%&#8221; transform_scale_linked=&#8221;off&#8221; transform_translate=&#8221;-53px|-50px&#8221; transform_translate_linked=&#8221;off&#8221; link_option_url=&#8221;https:\/\/cloudfoundation.com\/blog\/interview-questions\/&#8221; link_option_url_new_window=&#8221;on&#8221;][et_pb_column type=&#8221;1_3&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;][et_pb_image src=&#8221;https:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2023\/06\/Untitled-11.png&#8221; title_text=&#8221;Untitled-11&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; transform_scale=&#8221;103%|103%&#8221; transform_scale_linked=&#8221;off&#8221; transform_translate=&#8221;11px|0px&#8221; transform_translate_linked=&#8221;off&#8221; custom_padding=&#8221;|88px||||&#8221;][\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;1_3&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;][et_pb_text _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; text_font=&#8221;Georgia|700|||||||&#8221; text_text_color=&#8221;#FFFFFF&#8221; text_font_size=&#8221;23px&#8221; text_line_height=&#8221;1.3em&#8221; header_font=&#8221;Georgia|700|||||||&#8221; header_font_size=&#8221;19px&#8221; header_letter_spacing=&#8221;-1px&#8221; header_line_height=&#8221;1.2em&#8221; transform_scale=&#8221;171%|159%&#8221; transform_scale_linked=&#8221;off&#8221; transform_translate=&#8221;40px|44px&#8221; transform_translate_linked=&#8221;off&#8221; transform_origin=&#8221;70%|50%&#8221; z_index=&#8221;-161&#8243; width=&#8221;100%&#8221; custom_margin=&#8221;|-215px||||&#8221; custom_padding=&#8221;|0px||||&#8221; link_option_url=&#8221;https:\/\/cloudfoundation.com\/sap-analytics-cloud-training\/&#8221;]<\/p>\n<h1 style=\"text-align: center;\"><span style=\"color: #ffffff;\"><strong>EJB Course Price<\/strong><\/span><\/h1>\n<p>[\/et_pb_text][et_pb_button button_url=&#8221;https:\/\/cloudfoundation.com\/blog\/interview-questions\/&#8221; url_new_window=&#8221;on&#8221; button_text=&#8221;Offer Price&#8221; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; custom_button=&#8221;on&#8221; button_text_color=&#8221;#0C71C3&#8243; button_bg_color=&#8221;#FFFFFF&#8221; button_font=&#8221;|700|||||||&#8221; transform_translate=&#8221;64px|65px&#8221; transform_translate_linked=&#8221;off&#8221;][\/et_pb_button][\/et_pb_column][et_pb_column type=&#8221;1_3&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;][et_pb_image src=&#8221;https:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2019\/06\/logo_resize_color.png&#8221; title_text=&#8221;logo_resize_color&#8221; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; transform_translate=&#8221;-36px|0px&#8221; transform_translate_linked=&#8221;off&#8221; custom_margin=&#8221;|||178px||&#8221;][\/et_pb_image][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;3.25&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_team_member name=&#8221;Shekar &#8221; position=&#8221;Author&#8221; image_url=&#8221;https:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2023\/05\/Shekar.png&#8221; _builder_version=&#8221;4.9.7&#8243; header_level=&#8221;h5&#8243; header_font=&#8221;Titillium Web|700|||||||&#8221; body_font=&#8221;Titillium Web||||||||&#8221; body_font_size=&#8221;16&#8243;]<\/p>\n<h5>\u201cLet\u2019s dive into the world of tech imagination with me!\u201d<\/h5>\n<p>[\/et_pb_team_member][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;3.22&#8243;][et_pb_row _builder_version=&#8221;3.25&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_post_title meta=&#8221;off&#8221; featured_image=&#8221;off&#8221; _builder_version=&#8221;4.9.7&#8243; title_font=&#8221;Times New Roman||||||||&#8221; title_text_align=&#8221;left&#8221; title_text_color=&#8221;rgba(0,0,0,0.8)&#8221; title_font_size=&#8221;47&#8243; custom_margin=&#8221;|||10%&#8221; title_font_size_tablet=&#8221;40&#8243; title_font_size_phone=&#8221;35&#8243; title_font_size_last_edited=&#8221;on|desktop&#8221;][\/et_pb_post_title][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;3.25&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text _builder_version=&#8221;4.9.7&#8243; text_font=&#8221;Georgia|300|||||||&#8221; text_text_color=&#8221;rgba(0,0,0,0.8)&#8221; text_font_size=&#8221;22px&#8221; text_line_height=&#8221;1.9em&#8221; header_font=&#8221;Georgia||||||||&#8221; header_font_size=&#8221;22px&#8221; header_line_height=&#8221;1.9em&#8221; max_width=&#8221;800px&#8221; max_width_last_edited=&#8221;off|phone&#8221; custom_margin=&#8221;|||10%&#8221; custom_margin_last_edited=&#8221;off|desktop&#8221; hover_enabled=&#8221;0&#8243; text_font_size_tablet=&#8221;&#8221; text_font_size_phone=&#8221;&#8221; text_font_size_last_edited=&#8221;on|phone&#8221; text_line_height_last_edited=&#8221;off|phone&#8221; sticky_enabled=&#8221;0&#8243;]Enterprise Java Beans (EJBs) Interview Questions [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":76085,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"2880","footnotes":""},"categories":[84],"tags":[],"class_list":{"0":"post-75830","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-interview-questions"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>EJB Interview Questions<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cloudfoundation.com\/blog\/ejb-interview-questions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"EJB Interview Questions\" \/>\n<meta property=\"og:description\" content=\"[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;3.22&#8243;][et_pb_row _builder_version=&#8221;3.25&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_post_title meta=&#8221;off&#8221; featured_image=&#8221;off&#8221; _builder_version=&#8221;4.9.7&#8243; title_font=&#8221;Times New Roman||||||||&#8221; title_text_align=&#8221;left&#8221; title_text_color=&#8221;rgba(0,0,0,0.8)&#8221; title_font_size=&#8221;47&#8243; custom_margin=&#8221;|||10%&#8221; title_font_size_tablet=&#8221;40&#8243; title_font_size_phone=&#8221;35&#8243; title_font_size_last_edited=&#8221;on|desktop&#8221;][\/et_pb_post_title][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;3.25&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text _builder_version=&#8221;4.9.7&#8243; text_font=&#8221;Georgia|300|||||||&#8221; text_text_color=&#8221;rgba(0,0,0,0.8)&#8221; text_font_size=&#8221;22px&#8221; text_line_height=&#8221;1.9em&#8221; header_font=&#8221;Georgia||||||||&#8221; header_font_size=&#8221;22px&#8221; header_line_height=&#8221;1.9em&#8221; max_width=&#8221;800px&#8221; max_width_last_edited=&#8221;off|phone&#8221; custom_margin=&#8221;|||10%&#8221; custom_margin_last_edited=&#8221;off|desktop&#8221; hover_enabled=&#8221;0&#8243; text_font_size_tablet=&#8221;&#8221; text_font_size_phone=&#8221;&#8221; text_font_size_last_edited=&#8221;on|phone&#8221; text_line_height_last_edited=&#8221;off|phone&#8221; sticky_enabled=&#8221;0&#8243;]Enterprise Java Beans (EJBs) Interview Questions [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cloudfoundation.com\/blog\/ejb-interview-questions\/\" \/>\n<meta property=\"og:site_name\" content=\"CloudFoundation | Blog\" \/>\n<meta property=\"article:published_time\" content=\"2023-12-13T05:45:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-18T07:24:59+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2023\/12\/EJB-Interview-Questions-2.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"603\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"NAGENDRAG\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"NAGENDRAG\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"11 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"EJB Interview Questions","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cloudfoundation.com\/blog\/ejb-interview-questions\/","og_locale":"en_US","og_type":"article","og_title":"EJB Interview Questions","og_description":"[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;3.22&#8243;][et_pb_row _builder_version=&#8221;3.25&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_post_title meta=&#8221;off&#8221; featured_image=&#8221;off&#8221; _builder_version=&#8221;4.9.7&#8243; title_font=&#8221;Times New Roman||||||||&#8221; title_text_align=&#8221;left&#8221; title_text_color=&#8221;rgba(0,0,0,0.8)&#8221; title_font_size=&#8221;47&#8243; custom_margin=&#8221;|||10%&#8221; title_font_size_tablet=&#8221;40&#8243; title_font_size_phone=&#8221;35&#8243; title_font_size_last_edited=&#8221;on|desktop&#8221;][\/et_pb_post_title][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;3.25&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text _builder_version=&#8221;4.9.7&#8243; text_font=&#8221;Georgia|300|||||||&#8221; text_text_color=&#8221;rgba(0,0,0,0.8)&#8221; text_font_size=&#8221;22px&#8221; text_line_height=&#8221;1.9em&#8221; header_font=&#8221;Georgia||||||||&#8221; header_font_size=&#8221;22px&#8221; header_line_height=&#8221;1.9em&#8221; max_width=&#8221;800px&#8221; max_width_last_edited=&#8221;off|phone&#8221; custom_margin=&#8221;|||10%&#8221; custom_margin_last_edited=&#8221;off|desktop&#8221; hover_enabled=&#8221;0&#8243; text_font_size_tablet=&#8221;&#8221; text_font_size_phone=&#8221;&#8221; text_font_size_last_edited=&#8221;on|phone&#8221; text_line_height_last_edited=&#8221;off|phone&#8221; sticky_enabled=&#8221;0&#8243;]Enterprise Java Beans (EJBs) Interview Questions [&hellip;]","og_url":"https:\/\/cloudfoundation.com\/blog\/ejb-interview-questions\/","og_site_name":"CloudFoundation | Blog","article_published_time":"2023-12-13T05:45:27+00:00","article_modified_time":"2024-03-18T07:24:59+00:00","og_image":[{"width":800,"height":603,"url":"http:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2023\/12\/EJB-Interview-Questions-2.jpg","type":"image\/jpeg"}],"author":"NAGENDRAG","twitter_card":"summary_large_image","twitter_misc":{"Written by":"NAGENDRAG","Est. reading time":"11 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/cloudfoundation.com\/blog\/ejb-interview-questions\/","url":"https:\/\/cloudfoundation.com\/blog\/ejb-interview-questions\/","name":"EJB Interview Questions","isPartOf":{"@id":"https:\/\/cloudfoundation.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/cloudfoundation.com\/blog\/ejb-interview-questions\/#primaryimage"},"image":{"@id":"https:\/\/cloudfoundation.com\/blog\/ejb-interview-questions\/#primaryimage"},"thumbnailUrl":"https:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2023\/12\/EJB-Interview-Questions-2.jpg","datePublished":"2023-12-13T05:45:27+00:00","dateModified":"2024-03-18T07:24:59+00:00","author":{"@id":"https:\/\/cloudfoundation.com\/blog\/#\/schema\/person\/df6c7eba98f1bb15f2a100a9958266e4"},"breadcrumb":{"@id":"https:\/\/cloudfoundation.com\/blog\/ejb-interview-questions\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cloudfoundation.com\/blog\/ejb-interview-questions\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudfoundation.com\/blog\/ejb-interview-questions\/#primaryimage","url":"https:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2023\/12\/EJB-Interview-Questions-2.jpg","contentUrl":"https:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2023\/12\/EJB-Interview-Questions-2.jpg","width":800,"height":603},{"@type":"BreadcrumbList","@id":"https:\/\/cloudfoundation.com\/blog\/ejb-interview-questions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cloudfoundation.com\/blog\/"},{"@type":"ListItem","position":2,"name":"EJB Interview Questions"}]},{"@type":"WebSite","@id":"https:\/\/cloudfoundation.com\/blog\/#website","url":"https:\/\/cloudfoundation.com\/blog\/","name":"CloudFoundation | Blog","description":"A New way of Learning","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cloudfoundation.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/cloudfoundation.com\/blog\/#\/schema\/person\/df6c7eba98f1bb15f2a100a9958266e4","name":"NAGENDRAG","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudfoundation.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/09e08ba1102807a876f2c00245d6b955f0a9f027b40c181e9cee0cd2d927f84a?s=96&d=wavatar&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/09e08ba1102807a876f2c00245d6b955f0a9f027b40c181e9cee0cd2d927f84a?s=96&d=wavatar&r=g","caption":"NAGENDRAG"},"url":"https:\/\/cloudfoundation.com\/blog\/author\/nagendrag\/"}]}},"_links":{"self":[{"href":"https:\/\/cloudfoundation.com\/blog\/wp-json\/wp\/v2\/posts\/75830","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cloudfoundation.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudfoundation.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudfoundation.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudfoundation.com\/blog\/wp-json\/wp\/v2\/comments?post=75830"}],"version-history":[{"count":13,"href":"https:\/\/cloudfoundation.com\/blog\/wp-json\/wp\/v2\/posts\/75830\/revisions"}],"predecessor-version":[{"id":85039,"href":"https:\/\/cloudfoundation.com\/blog\/wp-json\/wp\/v2\/posts\/75830\/revisions\/85039"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cloudfoundation.com\/blog\/wp-json\/wp\/v2\/media\/76085"}],"wp:attachment":[{"href":"https:\/\/cloudfoundation.com\/blog\/wp-json\/wp\/v2\/media?parent=75830"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudfoundation.com\/blog\/wp-json\/wp\/v2\/categories?post=75830"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudfoundation.com\/blog\/wp-json\/wp\/v2\/tags?post=75830"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}