In Hexagonal Architecture (Ports and Adapters), what is the primary role of a 'port'?
-
A
A database connection pool
-
B
An interface defining how the application interacts with the outside world
-
C
A network socket for inter-service communication
-
D
A deployment pipeline stage