[jboss-user] [Beginners Corner] - Re: JBOSS remote access errror ????

2008-05-21 Thread sajhak
got it. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152472#4152472 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4152472 ___ jboss-user mailing list jboss-user@lists

[jboss-user] [Beginners Corner] - JBOSS remote access errror ????

2008-05-21 Thread sajhak
Hi all , How can i make JBOSS server accessible for other remote machines . Im hosting my application in JBOSS in one machine and it is configures as 10.50.10.1. I need to access my application from another machine , which i directly connected(by a cross-over cable) with the previous machine

[jboss-user] [EJB 3.0] - Session beans for data access

2008-05-13 Thread sajhak
Hi all , Is it ok to use Session Beans for database access by avoiding Entity Beans ? What are the advantages and disadvantages of using Session Beans over Entity Beans for database access. (database access involve data update as well) much appreciated your help. is somebody have an article

[jboss-user] [JBossWS] - Re: javaEE5 JAX-WS web services - JBOSS 4.2.2

2008-04-01 Thread sajhak
ok . thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4140685#4140685 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4140685 ___ jboss-user mailing list jboss-user@lists.j

[jboss-user] [JBossWS] - Re: javaEE5 JAX-WS web services - JBOSS 4.2.2

2008-04-01 Thread sajhak
yes , im using JDK 6 . does JBOSS not support that ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4140473#4140473 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4140473 ___ j

[jboss-user] [JBossWS] - Re: javaEE5 JAX-WS web services - JBOSS 4.2.2

2008-03-31 Thread sajhak
Here s the code for SayHelloWebService import javax.ejb.Remote; | import javax.jws.WebMethod; | import javax.jws.WebService; | import javax.jws.soap.SOAPBinding; | | @Remote | @WebService( | name = "SayHello", | targetNamespace = "http://org.jboss.ws/samples/retail

[jboss-user] [JBossWS] - Re: javaEE5 JAX-WS web services - JBOSS 4.2.2

2008-03-30 Thread sajhak
thanks for the link Peter. when i deploy the service endpoint , it gives an error saying something relevent to JAXB2.0 The service implementation is as folows is as follows. | public class SayHelloWebServiceBean implements SayHelloWebService { | | public String sayHell

[jboss-user] [JBossWS] - Re: JBoss & JAX-WS. Beginners Guide

2008-03-29 Thread sajhak
Hey JGF1 , i m having the exact same problem as i refer the same book u have read. did you sort it out the problem ? could you please tell me the modifications needed to run that example correctly ? im using JBOSS 4.2.2 GA too. thanks saji View the original post : http://www.jboss.com/inde

[jboss-user] [JBossWS] - javaEE5 JAX-WS web services - JBOSS 4.2.2

2008-03-29 Thread sajhak
hi , can i deploy javaEE5 conformed web services (JAX-WS web services , not JAX-RPC web services ) in JBOSS 4.2.2 ? so can i managed the configuration only with anotations rather than any configuration files ? also , if anybody have sample code of a simple webservice endpoint and a client

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: could not insert exception in JBOSS 4.2.2 GA ...

2008-03-19 Thread sajhak
thanks to u , i got it right this time ... and thought of describing the method i followed for the help of any other , who might need this in the future.. what i did was i add the following property to persistence.xml also , as u said , too.. so this works fine.Even i restart t

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: could not insert exception in JBOSS 4.2.2 GA ...

2008-03-19 Thread sajhak
sorry abt that n il make sure my codings are well formatted here after.. NO , the table doesnt exist.I didnt create the table. but dont the code above create the table named as bookbank ?? ( i thought the code itself will create the table in first place ) . ( The databse b04042 is there ) or el

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - could not insert exception in JBOSS 4.2.2 GA ...

2008-03-19 Thread sajhak
Hi all , im testing en Entity ( named as BookBank ) , using MySQL. I tested with the default database(HSQL) , and it succeeded. But when i configure the database to MySQL , it throws the following exception .. ( i placed connection pool config file "booksdb-ds.xml" in to the deploy directory o

[jboss-user] [EJB 3.0] - Re: Persistence confusion in EJB 3.0 .........

2008-03-17 Thread sajhak
thanks jaikiran ... i got it cleared View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137142#4137142 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137142 ___ jboss-user mailing

[jboss-user] [EJB 3.0] - Persistence confusion in EJB 3.0 .........

2008-03-15 Thread sajhak
hi , i m new to EJB development .. the question im going to ask might be a dumb one , if so pls excuse me the question is .. Does entity beans are a replacement for relational databases or it provides a layer on top of the database ?? what is actually doing by an Entity Bean ( or persi

[jboss-user] [Beginners Corner] - Re: application clients in JBOSS 4.2.2

2008-03-13 Thread sajhak
thanks JaiKiran.. now it works fine.. i really appreciate all of you guys' help.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136443#4136443 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136443 ___

[jboss-user] [Beginners Corner] - Re: application clients in JBOSS 4.2.2

2008-03-11 Thread sajhak
hi jaikiran , i placed the jndi.properties file in client jar , but now it gives the following exception ... C:\Documents and Settings\saji>java dev.saji.ejb.client.SearchNamesClient javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory [Ro

[jboss-user] [Beginners Corner] - Re: application clients in JBOSS 4.2.2

2008-03-10 Thread sajhak
thanks for the detailed description PeterJ , so i thought of trying EJB stuff with a little support of the IDE this time.But it gives me lot of troubles.I ll list the steps i followed to test my EJB , so that will be easy for u to help me on this issue. * My EJB (Bean class and the Remote int

[jboss-user] [Beginners Corner] - Re: deploying problem ( customized directory structure )

2008-03-07 Thread sajhak
i got the answer for this prob through IntelliJ IDEA's forum.. view it at http://intellij.net/forums/thread.jspa?threadID=273478&tstart=0 Regds Sajith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134957#4134957 Reply to the post : http://www.jboss.com/ind

[jboss-user] [Beginners Corner] - Re: application clients in JBOSS 4.2.2

2008-03-07 Thread sajhak
Im refering the e-version of "begining EJB 3 application development - from novice to professional " - Apress publishers' and also , SUN's j2EE5 official tutorial.If u know abt any other recommended learning materials pls let me know.. so in those materials i have found that @Local can be us

[jboss-user] [EJB 3.0] - Re: EJB 3.o (annotations) supports in JBOSS 4.2.2

2008-03-06 Thread sajhak
its ok. thanks ALR View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134660#4134660 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4134660 ___ jboss-user mailing list jboss-user

[jboss-user] [Beginners Corner] - Re: application clients in JBOSS 4.2.2

2008-03-06 Thread sajhak
thanks Peter , u r the one who has replied for almost all my questions so far .. :) finally i got the problem solved .. when JBOSS integrates with Netbeans 6.0 , it automatically detects the settings to be conformed with J2EE 1.4 specs.not J2EE 5...so il try with JBOSS 5.0 later.. so i had

[jboss-user] [EJB 3.0] - Re: EJB 3.o (annotations) supports in JBOSS 4.2.2

2008-03-06 Thread sajhak
thanks guys , ALRubinger , could u pls tel me whts the meaning of "goes GA" ? ... what does GA stands for ? regads Sajith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134649#4134649 Reply to the post : http://www.jboss.com/index.html?module=bb&op=post

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Deployment tool ????

2008-03-06 Thread sajhak
hi peter , I was searching for any graphical tools for deployment. In netbeans we can deploy the archives from the IDE itself..but in IDEA there s no such funtionality.. i was looking for a way to ease the deplyoment.. well , it seems i have to copy those file manually rather than looking for

[jboss-user] [EJB 3.0] - EJB 3.o (annotations) supports in JBOSS 4.2.2

2008-03-06 Thread sajhak
im new to j2ee area ... Does JBOSS version 4.2.2 supports EJB 3.0 specification and j2EE 5 specification ?? does it support deploying EJBs with annotations ? if it not supported , what s the option i have ? is it to use the newest jboss version ? or are thera any patches ? please help Than

[jboss-user] [Beginners Corner] - application clients in JBOSS 4.2.2

2008-03-06 Thread sajhak
Hi all , Im new to j2ee development.. in order to execute an application client in JBOSS 4.2.2 do i have to make any configurations additionally ? im asking this is , i am working with EJBs , so i developed a session Bean ( EJB 3.0 ) which searches for wine types . (for the testing purpoes

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Deployment tool ????

2008-03-05 Thread sajhak
is there any tool for deploy archives to the JBOSS server ?? I tried downloading tools in JBOSS site , JBOSS AS , but all those files are said to be corrupted ... so i couldnt get any :-( please help .. Thanks in advance Sajith View the original post : http://www.jboss.com/index.html?

[jboss-user] [Installation, Configuration & DEPLOYMENT] - deploying problem

2008-03-04 Thread sajhak
HI all , iam new to j2EE development// ... I am deploying j2EE archives into the JBOSS server using IntelliJ IDEA 7.0 , where it has inbuilt support for JBOSS integration.. when i deploy the archives , those are not goes to the "default/deploy" directory , instead it goes to the "default/tm

[jboss-user] [Beginners Corner] - Re: deploying problem ( customized directory structure )

2008-03-04 Thread sajhak
Hi Peter, Yes , i did read the above article but unfortunately that didnlt solve my problem .. let me explain my problem again .. I am deploying j2EE archives into the JBOSS server using IntelliJ IDEA 7.0 , where it has inbuilt support for JBOSS integration.. when i deploy the archives , thos

[jboss-user] [EJB/JBoss] - Re: EJB error when invoked by a jsp ........ please help

2008-03-01 Thread sajhak
now i got the following error please help 01:20:01,953 INFO [STDOUT] Couldn't create converter bean.$Proxy65 cannot be cast to converter.ejb.Converter 01:20:03,671 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception java.lang.NullPointerException at org.apache.jsp.inde

[jboss-user] [Beginners Corner] - Re: deploying problem ( customized directory structure )

2008-03-01 Thread sajhak
hi jaikiran , thanks for the reply , but i wanted to know why JBOSS always create a tmp directory and deploys all the jars and wars in to that tmp directory ? cant we customise that so that we can directly deploy our archives in to the DEPLOY directory Thanks in advance Sajith View the

[jboss-user] [EJB/JBoss] - EJB error when invoked by a jsp ........ please help

2008-03-01 Thread sajhak
Hi all , i developed an EJB named Converter , which is a currency converter , and used by a jsp page.when the submit button of the page is clicked the application gives the following exception please anybody can tell me what could be the cause for this .. ?? 23:07:05,406 INFO [STDOUT

[jboss-user] [Beginners Corner] - deploying problem ( customized directory structure )

2008-02-28 Thread sajhak
Im new to J2EE development . i would like to know whether i can deploy a .war file or a .jar file in my own directory structure in the Jboss server's deploy directory. ? im developing the application using IntelliJ IDEA 7.0 and using JBOSS 4.2.2 version. when i deploy a .war file or a .jar fi