| Autor |
Mensagem |
|
|
Basta utilizar o método split do próprio Java. Lembrando que como o caractere "+" é especial, este deve ser precedido pelos caracteres de escape "\\" Exemplo:
|
 |
|
|
Resolvi...
Transformo o objeto num mapa e envio o mapa no servlet...
Na minha aplicação JME pego o mapa transformo num objeto e recupero as propriedades.
|
 |
|
|
Dúvida de iniciante em JSON...
é o seguinte, tenho o seguinte código...
Como posso recuperar o objeto novamente ou melhor ainda como recuperar as propriedades desse objeto?
|
 |
|
|
|
Era como o Leonardo falou, o eclipse não estava colocando as libs no diretório web-inf/lib
|
 |
|
|
Oi Leonardo fiz o que você sugeriu e mesmo assim não rodou...
Criei um projeto desktop e coloquei o código e rodou sem problemas sem nem precisar fazer o que você disse.
Mas, estou precisando rodar dentro de um servlet ...
|
 |
|
|
Pessoal estou tentando rodar um exemplo de um servlet gerando um documento JSON.
Segue o código abaixo.
Adiciono as libs necessárias...
Nenhum erro ocorre em tempo de compilação.
Quando eu rodo o código obtenho o seguinte erro...
java.lang.NoClassDefFoundError: net/sf/json/JSONArray
Alguém já passou por este problema?
|
 |
|
|
Pessoal estou precisando trocar dados entre um servlet e uma aplicação J2ME.
Estou pensando em trocar dados através de xml, usando a api do JDOM, é viável eu ficar trocando um arquivo xml de um lado para outro?
Alguém já fez isto?
|
 |
|
|
Pessoal, segue o erro que estou obtendo.
Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: Can not instantiate DAO: class br.ufpb.coperve.persistencia.dao.postgre.ConcursoDAOHibernate
11:28:05,288 INFO HbmBinder:2375 - Mapping collection: br.ufpb.coperve.vo.PreInscricao.opcoes -> PreOpcao
at br.ufpb.coperve.persistencia.HibernatePostgreDAOFactory.instantiateDAO(HibernatePostgreDAOFactory.java:223)
at br.ufpb.coperve.persistencia.HibernatePostgreDAOFactory.getConcursoDAO(HibernatePostgreDAOFactory.java:95)
11:28:05,289 INFO HbmBinder:2375 - Mapping collection: br.ufpb.coperve.vo.Prova.diasProva -> DiaProva
at br.ufpb.coperve.visao.tables.ConcursoTable.montaTabela(ConcursoTable.java:4
11:28:05,295 INFO HbmBinder:2375 - Mapping collection: br.ufpb.coperve.vo.DiaProva.disciplinas -> DisciplinaProva
at br.ufpb.coperve.visao.tables.ConcursoTable.<init>(ConcursoTable.java:35)
at br.ufpb.coperve.visao.form.PrincipalForm.jMenuItem13ActionPerformed(PrincipalForm.java:182
11:28:05,295 INFO HbmBinder:2375 - Mapping collection: br.ufpb.coperve.vo.DisciplinaProva.questoes -> Questao
at br.ufpb.coperve.visao.form.PrincipalForm.access$000(PrincipalForm.java:84)
11:28:05,296 INFO HbmBinder:2375 - Mapping collection: br.ufpb.coperve.vo.LocalProva.salas -> Sala
at br.ufpb.coperve.visao.form.PrincipalForm$1.actionPerformed(PrincipalForm.java:256)
11:28:05,296 INFO HbmBinder:2375 - Mapping collection: br.ufpb.coperve.vo.LocalProvaConcurso.salas -> SalaConcurso
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:231
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1223)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1264)
at java.awt.Component.processMouseEvent(Component.java:6263)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3255)
at java.awt.Component.processEvent(Component.java:602
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:423
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:416
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: org.hibernate.MappingException: An association from the table categorias_cursos refers to an unmapped class: Curso
at org.hibernate.cfg.Configuration.secondPassCompileForeignKeys(Configuration.java:1252)
at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1170)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1286)
at br.ufpb.coperve.persistencia.HibernatePostgreDAOFactory.getCurrentSession(HibernatePostgreDAOFactory.java:231)
at br.ufpb.coperve.persistencia.HibernatePostgreDAOFactory.instantiateDAO(HibernatePostgreDAOFactory.java:220)
... 33 more
Pessoal segue os modelos e os mapeamentos.
<code>
package br.ufpb.coperve.vo;
import java.util.Set;
public class Curso {
private Integer codigo;
private String nome;
private String nomeReduzido;
private String codigoPrg;
private String curriculoAtual;
private int musica; // 0 - não ; 1 - sim
private byte turno;
private Polo polo;
private Campus campus;
private Set categorias;
private byte status;
public byte getStatus() {
return status;
}
public void setStatus(byte status) {
this.status = status;
}
public Integer getCodigo() {
return codigo;
}
public void setCodigo(Integer codigo) {
this.codigo = codigo;
}
public String getCodigoPrg() {
return codigoPrg;
}
public void setCodigoPrg(String codigoPrg) {
this.codigoPrg = codigoPrg;
}
public String getCurriculoAtual() {
return curriculoAtual;
}
public void setCurriculoAtual(String curriculoAtual) {
this.curriculoAtual = curriculoAtual;
}
public String getNome() {
return nome;
}
public void setNome(String nome) {
this.nome = nome;
}
public String getNomeReduzido() {
return nomeReduzido;
}
public void setNomeReduzido(String nomeReduzido) {
this.nomeReduzido = nomeReduzido;
}
public Campus getCampus() {
return campus;
}
public void setCampus(Campus campus) {
this.campus = campus;
}
public byte getTurno() {
return turno;
}
public void setTurno(byte turno) {
this.turno = turno;
}
public String toString(){
return this.codigo.toString() + " - " + this.nome ;
}
public boolean equals(Object objeto){
try{
return ((Curso) objeto).getCodigo().intValue() == this.codigo.intValue();
}
catch (Exception e){
return false;
}
}
public int getMusica() {
return musica;
}
public void setMusica(int musica) {
this.musica = musica;
}
public Polo getPolo() {
return polo;
}
public void setPolo(Polo polo) {
this.polo = polo;
}
public Set getCategorias() {
return categorias;
}
public void setCategorias(Set categorias) {
this.categorias = categorias;
}
}
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package br.ufpb.coperve.vo;
import java.util.Set;
/**
*
* @author emerson
*/
public class Categoria {
private Integer id;
private String nome;
private Set cursos;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getNome() {
return nome;
}
public void setNome(String nome) {
this.nome = nome;
}
public Set getCursos() {
return cursos;
}
public void setCursos(Set cursos) {
this.cursos = cursos;
}
}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping
PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="br.ufpb.coperve.vo.Categoria">
<!-- Identificador da classe -->
<id name="id">
<generator class="sequence">
<param name="sequence">categoria_id_sequence</param>
</generator>
</id>
<!-- Propriedades da classe -->
<property name="nome" length="256"/>
<set name="cursos" table="categorias_cursos">
<key column="categoria_id" />
<many-to-many column="curso_id" class="Curso"/>
</set>
</class>
</hibernate-mapping>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping
PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="br.ufpb.coperve.vo.Curso">
<!-- Identificador da classe -->
<id name="codigo"/>
<!-- Propriedades da classe -->
<property name="nome" length="50"/>
<property name="nomeReduzido" length="12"/>
<property name="codigoPrg" length="10"/>
<property name="curriculoAtual" length="4"/>
<property name="turno" length="1"/>
<property name="musica" length="1"/>
<property name="status" length="1"/>
<many-to-one name="campus"
column="campusid"
not-null="true"/>
<many-to-one name="polo"
column="poloid"
not-null="true"/>
<set name="categorias" table="categorias_cursos">
<key column="curso_id"/>
<many-to-many column="categoria_id" class="Categoria"/>
</set>
</class>
</hibernate-mapping>
</code>
Alguém sabe dizer qual o problema?
|
 |
|
|
Este erro está acontecendo no eclipse mesmo.
Mudei para o Netbeans e este erro não acontece mais.
|
 |
|
|
Pessoal tenho o seguinte midlet de teste...
import com.sun.lwuit.CheckBox;
import com.sun.lwuit.Dialog;
import com.sun.lwuit.Display;
import com.sun.lwuit.Command;
import com.sun.lwuit.Font;
import com.sun.lwuit.Form;
import com.sun.lwuit.Label;
import com.sun.lwuit.events.ActionEvent;
import com.sun.lwuit.events.ActionListener;
import com.sun.lwuit.geom.Dimension;
import com.sun.lwuit.plaf.Border;
import com.sun.lwuit.plaf.Style;
import com.sun.lwuit.plaf.UIManager;
import javax.microedition.midlet.MIDlet;
public class DemoCheckBox extends MIDlet implements ActionListener
{
private final int cbQty = 6;//number of checkboxes
private CheckBox[] checkboxes = new CheckBox[cbQty];
//if true all selections will be cleared on return from dialog
private boolean reset;
public void startApp()
{
//initialize the LWUIT Display
//and register this MIDlet
Display.init(this);
//create a new form
Form demoForm = new Form("CheckBox Demo");
//create a font
Font font = Font.createSystemFont(Font.FACE_PROPORTIONAL,Font.STYLE_BOLD,Font.SIZE_LARGE);
//set text color for title
demoForm.getTitleStyle().setFgColor(0xffffff);
//set font style for title
demoForm.getTitleStyle().setFont(font);
//set background color for the title bar
demoForm.getTitleStyle().setBgColor(0xff8040);
//create a new style object
Style menuStyle = new Style();
//set the background color -- the same as for title bar
menuStyle.setBgColor(0xff8040);
//set the text color for soft button
menuStyle.setFgColor(0xffffff);
//set font style for soft button
menuStyle.setFont(font);
//now install the style for soft button
demoForm.setSoftButtonStyle(menuStyle);
//set a background color for the form
demoForm.getStyle().setBgColor(0x656974);
//make the content pane fully transparent
demoForm.getContentPane().getStyle().setBgTransparency(0);
//create and add 'Exit' command to the form
//the command id is 0
demoForm.addCommand(new Command("Exit", 0));
demoForm.addCommand(new Command("Confirm", 1));
//this MIDlet is the listener for the form's command
demoForm.setCommandListener(this);
//create a style for labels
Style labelStyle = new Style();
labelStyle.setBgTransparency(0);
labelStyle.setFgColor(0x00ffff);
labelStyle.setFont(font);
labelStyle.setMargin(Label.BOTTOM, 30);
//set the style for all labels
UIManager.getInstance().setComponentStyle("Label", labelStyle);
//create a label to explain the purpose of the checkboxes
Label expLabel = new Label("Select all languages known");
//add the label to the form
demoForm.addComponent(expLabel);
//create font for checkboxes
Font cbFont = Font.createSystemFont(Font.FACE_PROPORTIONAL,Font.STYLE_PLAIN,Font.SIZE_MEDIUM);
//create a style for checkboxes
Style cbStyle = new Style();
cbStyle.setBgTransparency(64);
cbStyle.setFgColor(0x00ffff);
//cbStyle.setFgSelectionColor(0x00ff00);
cbStyle.setBgColor(0x999900);
//cbStyle.setBgSelectionColor(0xaa0000);
cbStyle.setFont(cbFont);
cbStyle.setBorder(Border.createEtchedRaised());
cbStyle.setMargin(Label.BOTTOM, 10);
//set the style for all checkboxes
UIManager.getInstance().setComponentStyle("CheckBox", cbStyle);
//strings for checkbox texts
String[] langs = {"Chinese", "Spanish", "English", "Portuguese", "Hindi", "Bengali"};
//preferred dimensions for checkboxes
Dimension d1 = new Dimension(100, 25);
//create six checkboxes and add them to the form
for(int i = 0; i < cbQty; i++)
{
//create a checkbox
checkboxes[i] = new CheckBox(langs[i]);
//set its preferred size
checkboxes[i].setPreferredSize(d1);
//set right margin for first, third and fifth checkboxes
//this is to provide a gap between the two columns of checkboxes
//and is a device specific approach
if(i % 2 == 0)
{
checkboxes[i].getStyle().setMargin(Label.RIGHT, 15);
}
//add checkbox to form
demoForm.addComponent(checkboxes[i]);
}
//set border for form title bar
demoForm.getTitleStyle().setBorder(Border.createBevelRaised());
//set border for form menu bar
demoForm.getSoftButtonStyle().setBorder(Border.createBevelLowered());
//show the form
demoForm.show();
}
public void pauseApp()
{
}
public void destroyApp(boolean unconditional)
{
}
//act on the command
public void actionPerformed(ActionEvent ae)
{
Command cmd = ae.getCommand();
switch (cmd.getId())
{
//'Exit' command
case 0:
notifyDestroyed();
break;
//'Confirm' command
case 1:
//call method to display dialog
showDialog();
//on retun from showDialog method
//check whether reset is true
if(reset)
{
//it's true, first set reset to false
//to make it ready for next time
reset = false;
//check each checkbox
for(int i = 0; i < cbQty; i++)
{
//check its state
if(checkboxes[i].isSelected())
{
//it's selected so clear it
checkboxes[i].setSelected(false);
}
}
}
}
}
private void showDialog()
{
int j = 0;
//dimension of labels to display selections
Dimension dim = new Dimension(100, 25);
//create the dialog
Dialog d = new Dialog("Selection");
//give it a border
d.getContentPane().getStyle().setBorder(Border.createBevelRaised());
//font for the labels
Font f = Font.createSystemFont(Font.FACE_SYSTEM,Font.STYLE_PLAIN,Font.SIZE_MEDIUM);
//create labels as required
for(int i = 0; i < cbQty; i++)
{
//see if a checkbox is selected
if(checkboxes[i].isSelected())
{
//it is selected so create a label to show its text
Label l = new Label(checkboxes[i].getText());
//set preferred size of the label
l.setPreferredSize(dim);
//set color for the text on labels
l.getStyle().setFgColor(0x555555);
//set font for the text on labels
l.getStyle().setFont(f);
//set a small botom margin
//again, this is a device specific action
l.getStyle().setMargin(Label.BOTTOM, 5);
//add the label to the form
d.addComponent(l);
}
}
//set bg color for dialog
d.getContentPane().getStyle().setBgColor(0xff8040);
//set style attributes for the dialog titlebar
d.getTitleStyle().setBgColor(0xa43500);
d.getTitleStyle().setFgColor(0xffffff);
d.getTitleStyle().setFont(Font.createSystemFont(Font.FACE_SYSTEM,Font.STYLE_BOLD,Font.SIZE_MEDIUM));
d.getTitleStyle().setBorder(Border.createBevelRaised());
//create and set style for dialog menubar
Style s = new Style();
s.setBgColor(0xa43500);
s.setFgColor(0xffffff);
s.setFont(Font.createSystemFont(Font.FACE_SYSTEM,Font.STYLE_BOLD,Font.SIZE_MEDIUM));
s.setBorder(Border.createBevelRaised());
d.setSoftButtonStyle(s);
//add two commands to dialog
d.addCommand(new Command("OK"));
d.addCommand(new Command("Back"));
//show the dialog
//this method will return the command selected when dialog is closed
Command cmd = d.showDialog();
//check the command name
if(cmd.getCommandName().equals("OK"))
{
//it's 'OK' command so set reset to true
//so that all selections can be cleared
reset = true;
}
}
}
Quando eu tento rodar da o seguinte erro
Running with storage root C:\Users\emerson\j2mewtk\2.5.2\appdb\DefaultColorPhone
Running with locale: Portuguese_Brazil.1252
Running in the identified_third_party security domain
java.lang.NoClassDefFoundError: DemoCheckBox: com/sun/lwuit/events/ActionListener
at com.sun.midp.midlet.MIDletState.createMIDlet(+29)
at com.sun.midp.midlet.Scheduler.schedule(+52)
at com.sun.midp.main.Main.runLocalClass(+2
at com.sun.midp.main.Main.main(+80)
Execution completed.
Alguém sabe como resolver?
|
 |
|
|
ok resolvido.
Estava criando uma outra instância e não aproveitando a instância criada pelo spring.
|
 |
|
|
Achei o erro, faltava o "3" depois do hibernate...
<bean id="transactionManager" class="org.springframework.orm.hibernate3.HibernateTransactionManager">
<property name="sessionFactory">
<ref local="mySessionFactory"/>
</property>
</bean>
Só que acabei voltando para o mesmo problema de antes, não estou conseguindo criar instâncias através do spring...
|
 |
|
|
Pessoal estou tentando colocar o spring para controlar minhas transações do hibernate, mas estou tento o seguinte problema...
Aparentemente é como se alguma lib faltasse no meu classpath, mas pelo que vi está tudo ok.
SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.springframework.orm.hibernate.HibernateTransactionManager] for bean with name 'transactionManager' defined in ServletContext resource [/WEB-INF/classes/config/applicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.springframework.orm.hibernate.HibernateTransactionManager
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:113
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:524)
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1174)
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:754)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:422)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4467)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.lang.ClassNotFoundException: org.springframework.orm.hibernate.HibernateTransactionManager
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1516)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1361)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:242)
at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:383)
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1135)
... 24 more
Segue abaixo também o meu appilcationContext.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
"http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
<bean id="myDataSource"
class="org.springframework.jdbc.datasource.DriverManagerDataSource">
<property name="driverClassName" value="com.mysql.jdbc.Driver"/>
<property name="url" value="jdbc:mysql://localhost:3306/siscom"/>
<property name="username" value="siscom"/>
<property name="password" value="siscom"/>
</bean>
<bean id="mySessionFactory" class="org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean" dependency-check="none">
<property name="dataSource" ref="myDataSource"/>
<property name="annotatedClasses">
<list>
<value>br.com.siscom.model.bean.Fornecedor</value>
</list>
</property>
<property name="hibernateProperties">
<props>
<prop key="hibernate.dialect">
org.hibernate.dialect.MySQL5InnoDBDialect
</prop>
<prop key="hibernate.show_sql">true</prop>
<prop key="hibernate.transaction.factory_class">
org.hibernate.transaction.JDBCTransactionFactory
</prop>
</props>
</property>
</bean>
<bean id="transactionManager"
class="org.springframework.orm.hibernate.HibernateTransactionManager">
<property name="sessionFactory">
<ref local="mySessionFactory"/>
</property>
</bean>
<bean id="teste" class="br.com.siscom.model.dao.FornecedorDAO">
<property name="sessionFactory" ref="mySessionFactory"/>
</bean>
</beans>
Alguém saberia dizer porque este erro está acontecendo? ou alguém já teve este problema?
|
 |
|
|
Pessoal alguém tem um bom tutorial ou exemplo mesmo que seja simples da comunicação de uma aplicação j2me com um servlet?
Desde já agradeço.
|
 |
|
|
|
ALguém tem algum exemplo de uma aplicação seam que faz persistencia de dados sem usar ejb?
|
 |
|
|