• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • paul wheaton
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • Mikalai Zaikin
  • Himai Minh

Local, Remote, Webservice in Single bean

 
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I have the following interfaces and implementation classs.

@Stateless(name = "WorkOrderDao", mappedName = "WorkOrderDao")
public class WorkorderDaoImpl implements WorkorderDaoLocal, WorkorderDaoWS, WorkorderDaoRemote
{
..
..
}


@Local
public interface WorkorderDaoLocal extends WorkorderDao
{ }

@Remote
public interface WorkorderDaoRemote extends WorkorderDao
{ }

@WebService (name = "WorkorderDaoService", serviceName = "WorkorderDaoService", targetNamespace = "http://jaxws.ck.ws.com", portName = "WorkorderDaoPort")
public interface WorkorderDaoWS extends WorkorderDao
{ }


public interface WorkorderDao {
..
..
}


Eclipse, Weblogic 10
------------
This is deployed without problem, but there is no Web Service created.

Is this correct implementation ?
Any Idea ?

Thanks in advance
Kathiresan


 
Ranch Hand
Posts: 608
Eclipse IDE Spring Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The container will think that this bean is remote,local and a webservice endpoint....This won't work...you need to choose only one of the 3 types.

 
Kathiresan Chinna
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK Thank you

 
Everybody's invited. Except this tiny ad:
ScroogeXHTML - a fast and small RTF to HTML5 and XHTML converter library
https://coderanch.com/t/742149/ScroogeXHTML-RTF-HTML-XHTML-converter
reply
    Bookmark Topic Watch Topic
  • New Topic