Skip to main content

Entrevista a Constantin Drabo sobre Java 8


Continuando con la serie de entrevistas sobre Java8, en esta ocasión converse con mi amigo Drabo.

1.Could you  tell us something about yourself
I'm Constantin Drabo from Burkina Faso where I'm working as software
engineer in National Treasury Office. I'm founder  FasoJUG  and Google
Developer Group  manager. I'm also contributor at both NetBeans
Community and Fedora Project where I've been elected as ambassador
since 2010.



2. What has been your experience with Java?
My first contact with Java is in 2002 when I'm student. I wrote my
first java program after reading the book of Anne
Tasso(http://www.editions-eyrolles.com/Livre/9782212111002/le-livre-de-java-premier-langage)
. I developed also several applications both academic and
professional. In my free time I help java moving forward by publishing
tutorials and evangelize.

3. How do you consider the new Java 8 release?
This release is seriously a great bunch for Java technology. I think
Oracle mistook by evolving slowly the platform. They should add  the
new features since a while.
This release comprises several interesting features. The prominent
ones are Java Embedded ,  scripting language support and IoT (Internet
of Things).

4. What do you think of lambda, stream?
With Lambda expression  they introduced functional programming into
Java. This concept is not new since there are already several language
that integrate it (PHP, Ruby, etc). In syntax level it is very strong
, but I skeptical according it usefulness. I think it can be a
concurrent of Nashorn which introduces the usage of a functional
language; JavaScript.Stream API contents  some important classes that
makes easy parallelization.


5. Do you know companies / developers who are migrating to Java8?
Franky speaking, the Java technology is very slow to be adopted here
in companies. Most of them use proprietary solutions and Java is
seeing as a hard adopted technology.
But some are very fun of Java !  I do not know if someone is ready to
move to Java 8 soon.


6. What are the characteristics that should be added to or removed from the platform?
The plateform is becoming  rich and complete. I think there is nothing
to be removed.

7- Recommendations
Java 8 is great  move on it as quick as possible  !


Constantin

Comments

Cyrille Ye said…
Congratulations Drabo, your are one of the best java technical analyst and developer in burkina faso. See you very soon at the next Fosdem meeti gs.
Always believe in your hope. That make great men.
CYRILLE YÉ
Cyrille Ye said…
Congratulations Drabo, your are one of the best java technical analyst and developer in burkina faso. See you very soon at the next Fosdem meeti gs.
Always believe in your hope. That make great men.
CYRILLE YÉ

Popular posts from this blog

Apache NetBeans

Apache NetBeans
https://wiki.apache.org/incubator/NetBeansProposal

Si, algo que se esperaba desde hace muchos años, una liberación de NetBeans, para convertirlo en un IDE más abierto, y que permita mayor contribución de la comunidad y de otras empresas, ya inicio su primera etapa en la incubadora de la Fundación Apache.
Las implicaciones que esto conlleva son múltiples por una parte esta la evolución de NetBeans, al permitir que más contribuyentes puedan aportar a sus mejoras, también garantiza que aquellas instituciones no sientan que es una sola organización la que controla la evolución. A las comunidades les permite sentirse que participan de un proyecto con todas las garantías que ofrece la Fundación Apache.

Muchos pensaran que Oracle esta dejando morir el proyecto, la realidad es diferente, hay muchos ingenieros que están participando del proyecto en la fundación Apache.
Es una noticia excelente para los desarrolladores, instituciones, empresas que utilizan NetBeans , se estima qu…

Un ejemplo sencillo de Refactorización y Genericos

Un ejemplo sencillo de Refactorización y Genericos

public class Refactorizador<K, V> {

    public V copyFromBeans(K k, V v) {
        try {
            Class claseK = k.getClass();
            Class claseV = v.getClass();

            Method[] metodosK = claseK.getMethods();

            for (Method method : metodosK) {
                if (isGetter(method)) {
                    Method metodoGetK = claseK.getDeclaredMethod(method.getName());
                    Method metodoSetV = claseV.getDeclaredMethod(changeGetBySet(method.getName()), method.getReturnType());
                    metodoSetV.invoke(v, metodoGetK.invoke(k));
                }

            }

        } catch (Exception e) {
            System.out.println("refactorizador() " + e.getLocalizedMessage());
        }
        return v;
    }

     public  boolean isGetter(Method method) {

        if (!method.getName().startsWith("get")) {
            return false;
        }
        if (method.getName().startsWith("getCla…

FileUpload con Primefaces

FileUpload con Primefaces

Si queremos subir imagenes a nuestra aplicación usaremos el componente FileUpload Debemos realizar los siguientes pasos:
Agregar al archivo web.xml

   <filter>        <filter-name>PrimeFaces FileUpload Filter</filter-name>        <filter-class>            org.primefaces.webapp.filter.FileUploadFilter        </filter-class>    </filter>    <filter-mapping>        <filter-name>PrimeFaces FileUpload Filter</filter-name>        <servlet-name>Faces Servlet</servlet-name>    </filter-mapping>



Crear dentro de resources el directorio donde deseamos almacenar las imagenes En este ejemplo: resources/fotos/clinicas y agregue una imagen llamada fotos.png que se usará como imagen inicial.



En JSFUtil u otro @Named Beans que usemos agregamos tres métodos uno para obtener el path de la aplicación web , otro para obtener el path relativo a /fotos/clinicas y el otro para copiar los archivos. /*