Questions tagged as 'interface'

1
answer

What is the endpoint interface in EJB? [duplicate]

I'm studying EJB (Enterprise Java Beans) and would like to know, within the context of distributed applications, what the role of the endpoint interface is. What is the endpoint interface? Where and when should the interface be used?
asked by 14.12.2015 / 20:20
1
answer

How to execute methods of all classes that extend an interface in symfony

I needed something similar to console doctrine:fixtures:load in relation to class DataFixtureLoader and interface OrderedFixtureInterface ie I want to make a Command where it looks for all classes that have extended t...
asked by 11.04.2015 / 21:05
1
answer

Inference dependency injection in Typescript - Angular 6

I'm doing the front end of a project using Angular 6, however I'm new to both Angular and Typescript and I'm trying to use the Typescript interfaces as in Java, injecting them to use the methods and tals, the problem is the following: * I hav...
asked by 19.10.2018 / 20:44
0
answers

Installation of GraphApp, for C?

I am not able to install a package for developing graphical interfaces in C, called GraphApp, this is the official website with documentation and everything: link This is the specific part of the installation: link And this is a tutori...
asked by 16.08.2018 / 16:25
0
answers

Problem with Interface in PHP

Good afternoon, I'm having trouble calling an interface I created in PHP. NetBeans recognizes it, it manages to call it, forces me to implement its methods, but when I upload the application, an error appears, telling me that the interface wa...
asked by 16.07.2018 / 21:01
0
answers

Dynamic interface based on values of an object (Typescript)

I'm trying to accomplish the following: interface A { name: string, type: string } let var_A: Array<A> = [ {name: 'firstName', type: 'string'}, {name: 'lastName', type: 'string'}, {name: 'age', type: 'number'}...
asked by 12.06.2018 / 06:24
0
answers

Implementation of interface in activity

Hello! I have the following problem: A user register, inside an activity that has a ViewPager with 3 fragments that each collects specific user data to save them in the firebase. The idea is that when the user fills the data of the first fragmen...
asked by 11.02.2018 / 18:01
1
answer

DTO - Interface x Class

I have used Interface to create Data Transfer Objects (DTO), "dumb" objects that only serve to standardize the communication of objects between the front and the back. My question is: Really using Interface is best practice? Or would it be bette...
asked by 21.04.2017 / 18:30
1
answer

Error declaring an interface class in PHP?

I'm having trouble declaring a interface to classe in PHP where I'm encapsulating the entire program with namespace . I created a interface called IFile in the Cnab\Remessa directory and set the functio...
asked by 03.08.2016 / 14:02
7
answers

In object orientation, why are interfaces useful?

Can anyone give a practical explanation on why interfaces are used and why they are useful to us developers?     
asked by 29.01.2014 / 21:13