text
stringlengths
3
1.18M
package com.istabs.beans; import java.io.Serializable; public class Establecimiento implements Serializable { private int id; private String nombre; private String descripcion; private Object imagen; private String ranking; private String ubicacion; private String telefonos; private Stri...
package com.istabs.beans; import java.io.Serializable; import org.codehaus.jackson.annotate.JsonIgnoreProperties; @JsonIgnoreProperties(ignoreUnknown = true) public class Actividad implements Serializable { private int id; private String titulo; private String subtitulo; private String descripcion; ...
package com.istabs; import android.app.Activity; import android.os.Bundle; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.TextView; import com.istabs.beans.Establecimiento; import com.istabs.common.ImageLoader; public class DetalleEstablecimientoActivity extends...
package com.istabs.common; import java.io.File; import android.content.Context; public class FileCache { private File cacheDir; public FileCache(Context context){ //Find the dir to save cached images if (android.os.Environment.getExternalStorageState().equals(android.os.En...
package com.istabs.common; import java.lang.ref.SoftReference; import java.util.HashMap; import android.graphics.Bitmap; public class MemoryCache { private HashMap<String, SoftReference<Bitmap>> cache=new HashMap<String, SoftReference<Bitmap>>(); public Bitmap get(String id){ if(!cache.containsKe...
package com.istabs.common; import java.io.InputStream; import java.io.OutputStream; public class Utils { public static void CopyStream(InputStream is, OutputStream os) { final int buffer_size = 1024; try { byte[] bytes = new byte[buffer_size]; for (;;) { int count = is.read(bytes, 0, buffer_size); ...
package com.istabs.common; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.InputStream; import java.io.OutputStream; import java.net.HttpURLConnection; import java.net.URL; import java.util.Collections; import java.ut...
package com.istabs.common; /** * @author Danny Remington - MacroSolve * */ /** * Helper class to help handling of UI. */ public class UIHelper { public static boolean homeKeyPressed; private static boolean justLaunched = true; /** * Check if the app was just launched. If the app ...
package com.ivens; import android.app.Activity; import android.os.Bundle; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.TextView; import com.google.ads.AdRequest; import com.google.ads.AdSize; import com.google.ads.AdView; import com.ivens.beans.Actividad; impo...
package com.ivens; import android.app.Activity; import android.content.Context; import android.database.DataSetObserver; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ExpandableListAdapter; import android.widget.Ex...
package com.ivens; import android.view.View; import android.view.View.MeasureSpec; import android.view.ViewGroup; import android.widget.ExpandableListAdapter; import android.widget.ExpandableListView; public class Utility { private static void setListViewHeightBasedOnChildren( ExpandableListView listV...
package com.ivens; import android.app.Activity; import android.content.Intent; import android.graphics.drawable.AnimationDrawable; import android.os.Bundle; import android.view.MotionEvent; import android.widget.ImageView; public class SplashScreen extends Activity { /** * The thread to process splash...
package com.ivens.services; import java.util.Date; import org.codehaus.jackson.JsonFactory; import org.codehaus.jackson.JsonParser; import org.codehaus.jackson.map.MappingIterator; import org.codehaus.jackson.map.ObjectMapper; import org.springframework.web.client.RestTemplate; import android.app.Applicati...
package com.ivens; public class CalendarConstants { public static final int GET_EVENTOS = 0; }
package com.ivens.adapters; import android.app.Activity; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.ImageView; import android.widget.TextView; import com.ivens.R; import com.ivens...
package com.ivens.adapters; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseExpandableListAdapter; import android.widget.ImageView; import android.widget.TextView; import com.ivens.R; import com.ivens.beans.Activid...
package com.ivens.adapters; import java.util.Calendar; import java.util.Date; import android.content.Context; import android.content.res.ColorStateList; import android.graphics.Color; import android.view.LayoutInflater; import android.view.MotionEvent; import android.view.View; import android.view.View.OnC...
package com.ivens.beans; import java.io.Serializable; import org.json.JSONException; import org.json.JSONObject; public class Horario implements Serializable{ private String dia; private String horas; /** * @return the dia */ public String getDia() { return dia; } /** * @ret...
package com.ivens.beans; import java.io.Serializable; public class Promocion implements Serializable { private int id; private String descripcion; /** * @return the id */ public int getId() { return id; } /** * @return the descripcion */ public String getDescripc...
package com.ivens.beans; import java.io.Serializable; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; public class Sala implements Serializable{ private int id; private String nombre; private Horario[] horarios; private Precio[] precios; publ...
package com.ivens.beans; import java.io.Serializable; public class Categoria implements Serializable { private int id; private String nombre; private Object icono; private Categoria padre; private boolean tieneSubcategorias; private Categoria[] subcategorias; private Actividad[] actividades...
package com.ivens.beans; import java.io.Serializable; public class Establecimiento implements Serializable { private int id; private String nombre; private String descripcion; private Object imagen; private String ranking; private String ubicacion; private String telefonos; private Strin...
package com.ivens.beans; import java.io.Serializable; import org.json.JSONException; import org.json.JSONObject; public class Precio implements Serializable{ private String dia; private String precio; public String getDia() { return dia; } public void setDia(String dia) { this.dia = d...
package com.ivens.beans; import org.codehaus.jackson.annotate.JsonProperty; //@JsonIgnoreProperties(ignoreUnknown = true) public class Pelicula extends Actividad { private int id; private String titulo; private String descripcion; private Object imagen; private String informacionAdicional; private Ca...
package com.ivens.beans; import java.io.Serializable; import org.codehaus.jackson.annotate.JsonIgnoreProperties; @JsonIgnoreProperties(ignoreUnknown = true) public class Actividad implements Serializable { private int id; private String titulo; private String subtitulo; private String descripcion; p...
package com.ivens; /** * @author Danny Remington - MacroSolve * */ /** * Helper class to help handling of UI. */ public class UIHelper { public static boolean homeKeyPressed; private static boolean justLaunched = true; /** * Check if the app was just launched. If the app was just...
package com.ivens.common; import java.io.File; import android.content.Context; public class FileCache { private File cacheDir; public FileCache(Context context){ //Find the dir to save cached images if (android.os.Environment.getExternalStorageState().equals(android.os.Env...
package com.ivens.common; import java.lang.ref.SoftReference; import java.util.HashMap; import android.graphics.Bitmap; public class MemoryCache { private HashMap<String, SoftReference<Bitmap>> cache=new HashMap<String, SoftReference<Bitmap>>(); public Bitmap get(String id){ if(!cache.containsKey...
package com.ivens.common; import java.io.InputStream; import java.io.OutputStream; public class Utils { public static void CopyStream(InputStream is, OutputStream os) { final int buffer_size = 1024; try { byte[] bytes = new byte[buffer_size]; for (;;) { int count = is.read(bytes, 0, buffer_size); i...
package com.ivens.common; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.InputStream; import java.io.OutputStream; import java.net.HttpURLConnection; import java.net.URL; import java.util.Collections; import java.uti...
package com.ivens.common; import com.ivens.R; import com.ivens.R.id; import com.ivens.R.layout; import com.ivens.beans.Actividad; import android.app.Activity; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter;...
package maven; public class Greetings { public static final String GREETING = "Hello "; public String sayHello(String string) { return GREETING + (string !=null ? string : "John Doe"); } }
package maven; /** * Hello world! * */ public class App { public static void main( String[] args ) { Greetings greetings = new Greetings(); System.out.println(greetings.sayHello(args.length>0?args[0]:null)); } }
package pt.training.maven.jee.model; import javax.annotation.PostConstruct; import javax.enterprise.inject.Model; import javax.validation.constraints.Digits; import javax.validation.constraints.NotNull; import javax.validation.constraints.Pattern; import org.hibernate.validator.constraints.Email; import org.hibernate...
package pt.training.maven.jee.model; import javax.ejb.Stateless; import javax.enterprise.inject.Produces; import javax.enterprise.inject.Disposes; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; @Stateless public class WidgetRepositoryProducer { // NOTE cannot use producer fiel...
package pt.training.maven.jee.model; import java.util.List; import javax.enterprise.context.RequestScoped; import javax.enterprise.inject.Produces; import javax.inject.Inject; import javax.inject.Named; import javax.persistence.EntityManager; public class WidgetListProducer { @Inject @WidgetRepository EntityManag...
package pt.training.maven.jee.model; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import javax.inject.Qualifier; @Qualifier @Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER}) @Rete...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2011 Joao Miguel Pereira * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
package pt.trainings.maven.templating; /** * Hello world! * */ public class App { public static void main( String[] args ) { System.out.println( "Hello World!" ); } }
package pt.training.maven.jee.web; import javax.enterprise.context.RequestScoped; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; @Path("/members") @RequestScoped public class MemberResourceRESTService { //placeholder to confirm JAX-RS is working as expected. @GET @Produces("t...