Standard for package names

Hi,
There is some standard convention for naming a package?
I've seen before that they use to name it something like this:
com.<companyname>.<blah>.<blah>.<blah>
This is correct?
Thanks in advance,
Gabriel

The general pattern promotoed by sun is to start package names with the reversed form of your domain name.
For instance
com.java....
com.ibm....
org.w3c...
org.omg...
If you don't have a domain name (small company or independent developer) you should use some unique value based on your name, your email address, etc.
Chuck

Similar Messages

  • Industry standard for packaging midlets?

    I am somewhat new to Midlets and have created some basic midlet's but I am wondering what the traditional way of shipping out a midlet would be?
    Should I merely stick it all in a jar/jad?
    Or is there some other technique that might include a JVM (such as IBM J9)? Is there some kind of Industry standard for this?

    I appreciate your willingness to respond but I find it hard
    to belive that a standard does not exist. As a multimedia developer
    at a high profile corporation, I have been asked for this
    information....and I gurantee that if I have been asked....others
    at large companies have been asked also.
    can anyone that works in the industry share their own
    guidelines based on personal experience? I have my own SWAG for the
    amount of time it takes indivdualy for custom animations,
    interactivies, and games...but would like to compare that to other
    estimates.
    Maybe it's better to ask for a Multimedia developemnt
    standard instead of a Flash development standard.

  • Package Names

    This is another of my questions related with naming. My problem is that I care so much on naming of packages, classes, methods, variables, etc because I want to make my code as readable as possible.
    I read from google about some standards when creating a new package. It states that it must the company domain in reverse. This means "com.companyname.xxxx" or "org.organizationname.xxxx" like "org.eclipse.xxxx" or "com.nokia.xxxx". So far so good...
    My problems comes when I have to devide the application classes. I most often use the MVC. so what I do is having
    org.organizationname.applicationname.view
    org.organizationname.applicationname.control
    org.organizationname.applicationname.model
    org.organizationname.applicationname.utilHowever I am finding this a little stupid. My problem is I never seen any full application code and so I had to invent these myself. I sometimes change from .control to .business or .services.
    My question is how do you usually name the packages to identify between the view, model, control classes??
    I also get confused on how to set the package name for an application that will make use of a webservice. Because a webservice is a service, but you could have other things that can be a service. And you can not make your package name too long either!!

    This is another of my questions related with naming.
    My problem is that I care so much on naming of
    f packages, classes, methods, variables, etc because
    I want to make my code as readable as possible.
    I read from google about some standards when creating
    a new package. It states that it must the company
    domain in reverse. This means "com.companyname.xxxx"
    or "org.organizationname.xxxx" like
    "org.eclipse.xxxx" or "com.nokia.xxxx". So far so
    good...
    "Must" is a very strong word. I believe "recommends" is more correct. We use the reversed URL convention for package names where I work, but it's not mandatory.
    My problems comes when I have to devide the
    application classes. I most often use the MVC. so
    what I do is having
    org.organizationname.applicationname.view
    org.organizationname.applicationname.control
    org.organizationname.applicationname.model
    org.organizationname.applicationname.util
    However I am finding this a little stupid. What's so stupid? That's the way I see it done.
    I think it's only a problem if (1) you can't touch type, (2) you don't have an IDE like IntelliJ that can automatically insert the package name for you when create a class in a package, or (3) you're bothered by a bit of verbosity.
    My
    problem is I never seen any full application code and
    so I had to invent these myself. I sometimes change
    from .control to .business or .services.
    My question is how do you usually name the packages
    to identify between the view, model, control
    classes??Yes.
    I also get confused on how to set the package name
    for an application that will make use of a
    webservice. Because a webservice is a service, but
    you could have other things that can be a service.Every service is not a web service - two different things. It's a packaging/deployment issue. The fact that you choose to deploy a particular service as a Web service doesn't change its essence.
    And you can not make your package name too long
    g either!!What do you mean by "too long"?
    Do you have a point or a question here?
    %

  • How to know database name and schema name by providing package name?

    Hi,
    Could someonw will help me to get database name and schema name by providing package name ?
    I have used the query : select * from all_objects where object_name='Package_name'; but it simply returns schema name where as i need DB name and username.
    --Prajakta

    but it simply returns schema name where as i need DB name and username.
    i want to retrive the DB name for package name
    Based on your questions, I wonder if you are used to working in SQL Server? (The server, database, and schema are part of the 4-part  name of an object, independent of any user.)
    In SQL Server, schema and username are two separate physical concepts.  "Schema" is purely logical in Oracle: a user which owns objects is often called a "schema".
    In Oracle, "database" is roughly equivalent to the SQL Server concept  "server" (what you log in to).  It is not part of the naming path to a specific object  (unless there is a database link involved, but there is no indication that's what you have here).  In Oracle you connect to an Instance (or Service) and people often call this the "database", but there is a fine semantic distinction there (separate topic). 
    Once connected in Oracle, you fully-qualify an object by only a 2-part owner and object name (possibly 3-part if a database link is involved user.object@link).
    12c added another wrinkle to all of this, but I'll assume this question was more basic than that, because you likely would have mentioned if this was a 12c question.

  • Package name convention

    Hallo,
    Is there any recommended convention for package names? I have seen several projects using such convention that all Panels are in a *.panels package, all Events in a *.events package etc. Do you recommend such convention?
    Thank you,
    Ladia

    If you are working for a commercial company, then the general packaging structure is
    com.<my-company>.<my-product>.<my-module>
    Suppose if you are working for some company "ladia" some product whose name is "portfolio" and you have the modules - view, model,config in your product, then you have to use the package structure like,
    package com.ladia.portfolio.view.<my-class-name>;
    package com.ladia.portfolio.model.<my-class-name>;
    package com.ladia.portfolio.config.<my-class-name>;
    You can have sub folders in view, model etc.. also.
    Thanks,
    Kalyan

  • Package Name while activating Datasource in RSA5

    Hi there, I want to know what Package Name or what to choose or how to create a package to transfer datasource from r3 to BW while activating Datasource in RSA5 for finance 0fi_gl_4 it ask for package name what to choose there. is that something basis team need to create to connect r3 to bw or I can create it as BI team
    please help
    Thanks
    soniya

    Hi:
    Package name is not to connect to BW. That is used for Transporting your daa sources from R/3 DEV --> R/3 QAS.
    To move Data Sources to BW, you call it Replication. Once you Activate Data Sources in R/3, go to BW, RSA1, Source Systems, select R/3 Source System, Replicate Data Sources. This will bring them to BW.
    You have to do the same in BW QAS AFTER you transport R/3 Data SOurces from R/3 DEV --> R/3 QAS.
    Coming to Packages in R/3, its just a grouping to move transports within R/3 System. Because the data sources are BW related, we usually have a package called ZBW. This is just a name, doesn't mean it moved them to BW.
    Ram C.
    Message was edited by: Ram Chamarthy
    Message was edited by: Ram Chamarthy

  • Standard Smartform for label printing for packages - pls advice

    Hi All,
    I need help in changing a print program ie Standard Smartform for label printing for packages ?
    Standard Driver program: SDPACKDR
    Please provide me with the detailed steps for editing the Std Smartform according to any requirement.
    Points will be rewarded promptly.
    Thanks.

    hi,
    1. The smartform name is SD_PACK_ETIK.
    2.Just copy the standard program into Zprogram and make chanes and assign in NACE with the form.
    3.But,in smartform lable printing is not possible.
    4.you can print barcodes.
    Regards,
    Kumar(Reward if helpful).

  • Asks for a package name

    Hi,
    Everytime I am creating something the system is asking for a package name with default value of $TMP. Is it okay to use them as local objects? This is a new BI7 system and Standard transport connection is switched on. Please let me know if you have any idea/explanation/solution for this.
    Regards,
    BM

    Hi BM,
    you can group the different objects you create/modify in different packages (development classes). This is the definition of SAP Help for packages: Packages extend the concept of development classes to improve modularization, encapsulation, and decoupling in the SAP System..
    For sure you are fine to create the objects as local objects in the package $TMP. However be aware that you have to change the package for all objects you want to transport to other systems (you can change the package for the relevant objects at the time you do the transport as well as described over [here|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/0b/5ee7377a98c17fe10000009b38f842/content.htm]).
    That means if you are planning to transport the objects to other systems you can enter a specific package for the objects right at the time of creating the objects. This way you will be faster at the time transporting the objects.
    You can create packages using the t-code se80 in the repository browser / "package".
    Brgds,
    Marcel

  • Package name which contain user exit  in standard include name

    hai experts,
    can i know the package name which contain user exit mean standard include which contain forms of the perform. or give some suggestion to find this exit for purticular tcode.
    useful reply will be awarded.
    regards,
    jai.m

    Hai,
    it is not over thare....
    actualy i need to do some work at the time of the save document of mb1b transaction. my need is if any one exit or custmer exit or badi has trigger at the time of save the document in mb1b transaction.
    regards ,
    jai.m

  • How to change the package name for a msg class

    Can anybody tell me how to change the package name for a message class.
    and how will it effect in the rerport?
    thanks in advance
    kp

    >>and how will it effect in the report?
    You wouldn't see any direct effect on the Report.. But if you transport the report to QA & leave the Message class in Dev, it might result in syntax issues & you will not be able to execute the report. Just ensure that both of them get transported to QA & you will be fine.
    ~Suresh

  • JSC2 Support for Traditional Java Package Names

    We have been looking for some encouraging words in the JSC2 documentation concerning the use of traditional java package organization for our creator projects but have been unable to find any. JSC2 appears to use a new project directory structure for its own purposes. However, there is no mention of package naming improvements in response to past requests from JSC1 users. We still very much want to organize our project content in the familiar java "com.company.ourproject.ourfeature" style. Is it the intention of the Creator developers to provide improvement in support for custom package names in JSC2 that is beyond what was possible in JSC1? Any insightful comments would be greatly appreciated.

    Hi,
    Please go through the following thread which discusses about the package structure:
    http://swforum.sun.com/jive/thread.jspa?threadID=53439&tstart=0
    Hope this heps
    Cheers
    Giri :-)
    Creator Team

  • Download Standard Business Packages of MM,SD for IViews

    Hi Experts,
    I want to download the Standard Business Packages for MM, SD Etc Modules.
    So from where i can get this, such that i am able to use them in Portal.
    Pls help me out.
    Regards,
    DS

    Hi,
    You can get them from the market place
    https://www.sdn.sap.com/irj/sdn/contentportfolio
    Regards
    Ayyapparaj

  • [svn] 3538: -Fix package names for Animate3D and Rotate3D effects as well as their instances .

    Revision: 3538
    Author: [email protected]
    Date: 2008-10-09 09:47:00 -0700 (Thu, 09 Oct 2008)
    Log Message:
    -Fix package names for Animate3D and Rotate3D effects as well as their instances.
    -added to manifest.xml and mxml-2009-manifest.xml so they would be included in the compile
    Ticket Links:
    http://bugs.adobe.com/jira/browse/mxml-2009
    Modified Paths:
    flex/sdk/trunk/frameworks/mxml-2009-manifest.xml
    flex/sdk/trunk/frameworks/projects/flex4/manifest.xml
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/Animate3D.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/Rotate3D.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/Animate3DInstance.a s
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/Rotate3DInstance.as

    From man pkgbuild:
    It is also possible to specify an optional filename, which is helpful with weird URLs and for handling multiple source files with the same name. The syntax is: source=('filename::url')

  • Standard SApScript / Smartform name for FB75 (credit memo) transaction

    Need to know Standard SApScript / Smartform name for FB75 (credit memo) transaction..

    hi
    check SPRO>Financial Accounting>Accounts Receivable and Accounts
    Payable>Customer Accounts>Line Items>Correspondence>Carry Out
    and Check Settings for Correspondence
    surya

  • Where is the Package Name and Class Name for Android to Facebook SSO?

    Where is the Package Name and Class Name for Android to Facebook SSO?
    I am trying to fill these fields http://developers.facebook.com/docs/mobile/android/build/#ref for Facebook but i can't figure out what to place in Android Package Name and Andorid Class Name,
    same thing for the Android Key Hash, I followed this guide http://www.skoobalon.com/blog/2012/06/13/getting-the-android-key-hash-for-facebook-from-an -air-app/ but I am not sure if it is the right thing to do.
    I was thinking maybe the Pakage Name is air.com.myname.myappname (where com.myname.myappname is also the id used in the application.xml) and the Class name is  air.com.myname.myappname.MyDocumentClass ?
    Is there an official guide somewhere?
    Also do you guys know if there is somewhere a library we can use within AIR to do SSO on Facebook from Andorid?

    For what it's worth, I don't think a WiFi connection would be reliable enough. You wouldn't want your picture to freeze just because a neighbour has turned on their baby monitor. WiFi uses the same frequencies as a myriad of other devices, as well as all your neighbours' WiFi.

Maybe you are looking for

  • How to connect my old imac G4 (no airport card) to lynksys router

    I am going to buy a new imac. I want to put my old G4 15" with no airport card installed into my daughter's room. I have a linksys wireless router WRT54G connected to my dsl modem. The linksys wireless router is linked to my imac via an ethernet cabl

  • There was a problem connecting to the server "server".

    I attached a USB external hard drive to my MacBook Air to do a Time Machine Backup. I then disconnected the drive. I now get a popup saying There was a problem connecting to the server "server". The server may not exist or it is unavailable at this t

  • Why don't my contacts sort onto the alpha pages of the Contacts app?

    New iPad. I'm entering contacts into the Contacts apps included. But they are all on one page with the alpha letter divider between the sections

  • Plz send answers ASAP

    1Q)marker interface having no methods right.. then what is the use of marker interface? for what purpose we use marker interface? 2Q)how to make a dynamic object ,name of object is entered by user? 3Q)Why class Class is always the Super Class for eve

  • Why have the colors changed in Lightroom 5 since the newest 5.3 update?

    I have just updated to Lightroom 5.3 and the strangest thing happened.  I went back to my galleries and all the colors are off.  Everything is a little greener and a little warmer.  I had just exported a wedding that I shot a a few days ago anf I wen