U.S. Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Alfresco APSCE Exam - Topic 4 Question 86 Discussion

What are valid reasons for implementing business logic as a custom Spring Bean instead of as a Java Delegate? Choose 2 answers
A) To invoke the business logic in more than just one workflow. and C) To invoke the business logic also from a Script Task
B) To guarantee the implementation is only used from a Service Task
D) To autowire dependencies on the Java class implementation
E) To guarantee access to the internal Java API

Alfresco APSCE Exam - Topic 4 Question 86 Discussion

Actual exam question for Alfresco's APSCE exam
Question #: 86
Topic #: 4
[All APSCE Questions]

What are valid reasons for implementing business logic as a custom Spring Bean instead of as a Java Delegate? Choose 2 answers

Show Suggested Answer Hide Answer
Suggested Answer: A, C

Contribute your Thoughts:

0/2000 characters
Janey
6 months ago
C makes sense too, more flexibility with Script Tasks!
upvoted 0 times
...
Melodie
6 months ago
Wait, can you really guarantee access to the internal Java API with E? Sounds sketchy.
upvoted 0 times
...
Francoise
6 months ago
I think D is also valid, autowiring is super handy!
upvoted 0 times
...
James
6 months ago
B seems too restrictive, why limit it to just Service Tasks?
upvoted 0 times
...
An
7 months ago
A is definitely a reason, you can reuse the logic across workflows.
upvoted 0 times
...
Tammi
7 months ago
I practiced a similar question, and I think D is definitely right because autowiring is a big advantage of using Spring Beans.
upvoted 0 times
...
Giuseppe
7 months ago
I'm not entirely sure, but I feel like B could be a valid reason since it restricts usage to Service Tasks only.
upvoted 0 times
...
Tish
7 months ago
I think A makes sense too, since you want to reuse business logic across different workflows.
upvoted 0 times
...
Claudio
7 months ago
I remember something about using Spring Beans for better dependency management, so maybe D is a good choice?
upvoted 0 times
...
Goldie
8 months ago
I've got this one! Using a Spring Bean allows you to reuse the business logic across different workflows, which is super handy. And the ability to autowire dependencies is a big plus.
upvoted 0 times
...
Leslie
8 months ago
The ability to autowire dependencies is a good reason to use a Spring Bean, in my opinion. That way you can easily inject any other services or components your business logic needs.
upvoted 0 times
...
Bernardo
8 months ago
I'm a bit confused on the differences between the two options. I'll need to review my notes on Spring Beans and Java Delegates to make sure I understand the trade-offs before answering this.
upvoted 0 times
...
Cherelle
8 months ago
Okay, let's see. I think the key here is understanding when you'd want to use a Spring Bean versus a Java Delegate. Invoking the logic in multiple workflows seems like a good reason to use a Spring Bean.
upvoted 0 times
...
Serina
8 months ago
Hmm, this one seems tricky. I'll need to think through the differences between a Spring Bean and a Java Delegate to figure out the best approach.
upvoted 0 times
...
Elmer
11 months ago
D is key, who doesn't love a good old dependency injection? Makes life so much easier.
upvoted 0 times
Evette
9 months ago
B) To guarantee the implementation is only used from a Service Task
upvoted 0 times
...
Evette
10 months ago
D is definitely important for dependency injection.
upvoted 0 times
...
...
Tyra
11 months ago
Haha, E is like trying to sneak into the VIP section. Not happening, buddy!
upvoted 0 times
Twanna
9 months ago
B) To guarantee the implementation is only used from a Service Task
upvoted 0 times
...
Brynn
9 months ago
A) To invoke the business logic in more than just one workflow.
upvoted 0 times
...
Kate
10 months ago
B) To guarantee the implementation is only used from a Service Task
upvoted 0 times
...
Candra
10 months ago
A) To invoke the business logic in more than just one workflow.
upvoted 0 times
...
...
Cory
11 months ago
I'm not sure about C and D, but I think A and B are definitely important reasons.
upvoted 0 times
...
Carey
12 months ago
I agree with Cristina. A and B make sense for implementing business logic as a custom Spring Bean.
upvoted 0 times
...
Sue
12 months ago
C is a no-go, you don't want to mix business logic in a Script Task. Sticking to Service Tasks is the way to go.
upvoted 0 times
Leonard
11 months ago
B) To guarantee the implementation is only used from a Service Task
upvoted 0 times
...
Chandra
11 months ago
A) To invoke the business logic in more than just one workflow.
upvoted 0 times
...
...
Judy
12 months ago
A and D seem like the best options to me. Invoking the logic from multiple workflows and being able to inject dependencies are definitely useful.
upvoted 0 times
Alisha
11 months ago
Definitely, those are important factors to consider when deciding between a custom Spring Bean and a Java Delegate.
upvoted 0 times
...
Alisha
11 months ago
I agree, A and D are solid reasons for using a custom Spring Bean.
upvoted 0 times
...
...
Cristina
12 months ago
I think A and B are valid reasons.
upvoted 0 times
...

Save Cancel